mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-20 18:25:55 +10:00
[강운덕] [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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user