[강운덕] [LUCYSUS-1744] api 인자 변경.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@672 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-09-20 03:51:23 +00:00
parent 3551511b97
commit 727f43543f
2 changed files with 4 additions and 12 deletions
@@ -162,16 +162,8 @@ public class HBaseClient {
}
}
// public void flush(byte[] tablename) {
// HTable htable = (HTable) tablePool.getTable(tablename);
// try {
// htable.flushCommits();
// } catch (IOException e) {
// e.printStackTrace();
// }
// }
public void insert(byte[] tablename, Put put) {
public void insert(String tablename, Put put) {
HTable htable = (HTable) tablePool.getTable(tablename);
try {
htable.put(put);
@@ -182,7 +174,7 @@ public class HBaseClient {
}
}
public void insert(byte[] tablename, List<Put> put) {
public void insert(String tablename, List<Put> put) {
HTable htable = (HTable) tablePool.getTable(tablename);
try {
htable.put(put);
@@ -193,7 +185,7 @@ public class HBaseClient {
}
}
public void delete(byte[] tablename, Delete delete) {
public void delete(String tablename, Delete delete) {
HTable htable = (HTable) tablePool.getTable(tablename);
try {
htable.delete(delete);