public class HBaseTable
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HBaseTable.Async |
static interface |
HBaseTable.CallbackTask |
static class |
HBaseTable.Fast |
class |
HBaseTable.Model |
static interface |
HBaseTable.ResultTask |
static interface |
HBaseTable.Task |
| Modifier | Constructor and Description |
|---|---|
protected |
HBaseTable(TableName tableName,
org.apache.hadoop.hbase.client.Table table,
java.util.concurrent.ConcurrentHashMap<TableName,java.util.concurrent.LinkedBlockingQueue<HBaseTable.Async.AsyncPackage>> asyncPackages,
java.util.concurrent.ConcurrentHashMap<TableName,java.util.concurrent.LinkedBlockingQueue<org.apache.hadoop.hbase.client.Row>> fastCollection) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.client.Result |
append(org.apache.hadoop.hbase.client.Append append) |
HBaseTable.Async |
async()
Only for Get, Put, Delete, Append, Increment.
|
void |
batch(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
java.lang.Object[] results) |
<R> void |
batchCallback(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
java.lang.Object[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
void |
delete(org.apache.hadoop.hbase.client.Delete delete) |
void |
delete(java.util.List<org.apache.hadoop.hbase.client.Delete> deletes) |
boolean |
exists(org.apache.hadoop.hbase.client.Get get) |
boolean[] |
exists(java.util.List<org.apache.hadoop.hbase.client.Get> gets) |
HBaseTable.Fast |
fast()
Only for Get, Put, Delete, Append, Increment.
|
org.apache.hadoop.hbase.client.Result |
get(org.apache.hadoop.hbase.client.Get get) |
org.apache.hadoop.hbase.client.Result[] |
get(java.util.List<org.apache.hadoop.hbase.client.Get> gets) |
org.apache.hadoop.hbase.client.Result |
increment(org.apache.hadoop.hbase.client.Increment increment) |
HBaseTable.Model |
model() |
void |
put(java.util.List<org.apache.hadoop.hbase.client.Put> puts) |
void |
put(org.apache.hadoop.hbase.client.Put put) |
void |
release() |
org.apache.hadoop.hbase.client.ResultScanner |
scan(org.apache.hadoop.hbase.client.Scan scan) |
TableName |
tableName() |
protected HBaseTable(TableName tableName, org.apache.hadoop.hbase.client.Table table, java.util.concurrent.ConcurrentHashMap<TableName,java.util.concurrent.LinkedBlockingQueue<HBaseTable.Async.AsyncPackage>> asyncPackages, java.util.concurrent.ConcurrentHashMap<TableName,java.util.concurrent.LinkedBlockingQueue<org.apache.hadoop.hbase.client.Row>> fastCollection)
public HBaseTable.Model model()
public void release()
public boolean exists(org.apache.hadoop.hbase.client.Get get)
public boolean[] exists(java.util.List<org.apache.hadoop.hbase.client.Get> gets)
public org.apache.hadoop.hbase.client.Result append(org.apache.hadoop.hbase.client.Append append)
public TableName tableName()
public org.apache.hadoop.hbase.client.Result increment(org.apache.hadoop.hbase.client.Increment increment)
public org.apache.hadoop.hbase.client.Result get(org.apache.hadoop.hbase.client.Get get)
public org.apache.hadoop.hbase.client.Result[] get(java.util.List<org.apache.hadoop.hbase.client.Get> gets)
public void put(org.apache.hadoop.hbase.client.Put put)
public void put(java.util.List<org.apache.hadoop.hbase.client.Put> puts)
public void delete(org.apache.hadoop.hbase.client.Delete delete)
public void delete(java.util.List<org.apache.hadoop.hbase.client.Delete> deletes)
public org.apache.hadoop.hbase.client.ResultScanner scan(org.apache.hadoop.hbase.client.Scan scan)
public void batch(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
java.lang.Object[] results)
public <R> void batchCallback(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
java.lang.Object[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)
public HBaseTable.Async async()
Asyncpublic HBaseTable.Fast fast()
async()Fast