public final class HBaseClient
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HBaseClient.Builder |
static class |
HBaseClient.Parameter |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<TableName,java.util.concurrent.LinkedBlockingQueue<HAsyncTable.AsyncPackage>> |
asyncCollection |
static java.nio.charset.Charset |
DEFAULT_CHARSET |
protected java.util.HashMap<TableName,java.util.concurrent.LinkedBlockingQueue<org.apache.hadoop.hbase.client.Row>> |
fastCollection |
| Modifier and Type | Method and Description |
|---|---|
HBaseAdmin |
admin() |
HAsyncTable |
async(TableName tableName)
Only for Get, Put, Delete, Append, Increment.
|
int |
asyncBatchCount() |
protected java.util.concurrent.LinkedBlockingQueue<HAsyncTable.AsyncPackage> |
asyncQueue(TableName tableName) |
static byte[] |
bytes(java.lang.String string) |
void |
close() |
boolean |
closed() |
org.apache.hadoop.conf.Configuration |
configuration() |
protected org.apache.hadoop.hbase.client.Connection |
connection() |
HFastTable |
fast(TableName tableName)
Only for Get, Put, Delete, Append, Increment.
|
int |
fastBatchCount() |
protected java.util.concurrent.LinkedBlockingQueue<org.apache.hadoop.hbase.client.Row> |
fastQueue(TableName tableName) |
long |
rowCount(TableName tableName,
byte[] family) |
HBaseClient |
setAsyncBatchCount(int asyncBatchCount) |
HBaseClient |
setFastBatchCount(int fastBatchCount) |
HBaseTable |
table(HTableModel model) |
HBaseTable |
table(TableName tableName) |
public static final java.nio.charset.Charset DEFAULT_CHARSET
protected final java.util.HashMap<TableName,java.util.concurrent.LinkedBlockingQueue<org.apache.hadoop.hbase.client.Row>> fastCollection
protected final java.util.HashMap<TableName,java.util.concurrent.LinkedBlockingQueue<HAsyncTable.AsyncPackage>> asyncCollection
public static final byte[] bytes(java.lang.String string)
public HAsyncTable async(TableName tableName)
Asyncpublic HFastTable fast(TableName tableName)
async()Fastpublic int fastBatchCount()
public HBaseClient setFastBatchCount(int fastBatchCount)
public int asyncBatchCount()
public HBaseClient setAsyncBatchCount(int asyncBatchCount)
public HBaseAdmin admin()
public void close()
public boolean closed()
protected java.util.concurrent.LinkedBlockingQueue<org.apache.hadoop.hbase.client.Row> fastQueue(TableName tableName)
protected java.util.concurrent.LinkedBlockingQueue<HAsyncTable.AsyncPackage> asyncQueue(TableName tableName)
public HBaseTable table(HTableModel model)
public HBaseTable table(TableName tableName)
protected org.apache.hadoop.hbase.client.Connection connection()
public long rowCount(TableName tableName, byte[] family)
public org.apache.hadoop.conf.Configuration configuration()