From 02971e0b0334f6b12bb323f8b97575e95b3ad8df Mon Sep 17 00:00:00 2001 From: Woonduk Kang Date: Fri, 21 Sep 2012 05:05:26 +0000 Subject: [PATCH] =?UTF-8?q?[=EA=B0=95=EC=9A=B4=EB=8D=95]=20[LUCYSUS-1744]?= =?UTF-8?q?=20spring=20=EA=B8=B0=EB=B0=98=EC=9C=BC=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@682 84d0f5b1-2673-498c-a247-62c4ff18d310 --- .../com/profiler/common/hbase/HBaseClient.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/profiler/common/hbase/HBaseClient.java b/src/main/java/com/profiler/common/hbase/HBaseClient.java index a03cb6d9f..a9c4ee491 100644 --- a/src/main/java/com/profiler/common/hbase/HBaseClient.java +++ b/src/main/java/com/profiler/common/hbase/HBaseClient.java @@ -53,7 +53,7 @@ public class HBaseClient { return SingletonHolder.INSTANCE; } - private HBaseClient(int poolSize) { + public HBaseClient(int poolSize) { Properties properties = readProperties(); String host = properties.getProperty("hbase.client.host"); String port = properties.getProperty("hbase.client.port"); @@ -163,8 +163,8 @@ public class HBaseClient { } } - public void insert(String tablename, Put put) { - HTable htable = (HTable) tablePool.getTable(tablename); + public void insert(String tableName, Put put) { + HTable htable = (HTable) tablePool.getTable(tableName); try { htable.put(put); } catch (IOException e) { @@ -174,8 +174,8 @@ public class HBaseClient { } } - public void insert(String tablename, List put) { - HTable htable = (HTable) tablePool.getTable(tablename); + public void insert(String tableName, List put) { + HTable htable = (HTable) tablePool.getTable(tableName); try { htable.put(put); } catch (IOException e) { @@ -185,8 +185,8 @@ public class HBaseClient { } } - public void delete(String tablename, Delete delete) { - HTable htable = (HTable) tablePool.getTable(tablename); + public void delete(String tableName, Delete delete) { + HTable htable = (HTable) tablePool.getTable(tableName); try { htable.delete(delete); } catch (IOException e) {