Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.client.coprocessor |
Provides client classes for invoking Coprocessor RPC protocols
|
org.apache.hadoop.hbase.rest.client |
Modifier and Type | Method and Description |
---|---|
<T extends CoprocessorProtocol,R> |
HTableInterface.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HTableInterface.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HConnection.processExecs(Class<T> protocol,
List<byte[]> rows,
byte[] tableName,
ExecutorService pool,
Batch.Call<T,R> call,
Batch.Callback<R> callback)
Executes the given
Batch.Call
callable for each row in the given list and invokes
Batch.Callback.update(byte[], byte[], Object)
for each result returned. |
Modifier and Type | Method and Description |
---|---|
static <T extends CoprocessorProtocol,R> |
Batch.forMethod(Class<T> protocol,
String method,
Object... args)
Creates a new
Batch.Call instance that invokes a method
with the given parameters and returns the result. |
static <T extends CoprocessorProtocol,R> |
Batch.forMethod(Method method,
Object... args)
Creates a new
Batch.Call instance that invokes a method
with the given parameters and returns the result. |
Modifier and Type | Method and Description |
---|---|
<T extends CoprocessorProtocol,R> |
RemoteHTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable) |
<T extends CoprocessorProtocol,R> |
RemoteHTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback) |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.