Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.thrift2.client |
Modifier and Type | Method and Description |
---|---|
default <R> void |
Table.batchCallback(List<? extends Row> actions,
Object[] results,
Batch.Callback<R> callback)
Deprecated.
since 3.0.0, will removed in 4.0.0. Please use the batch related methods in
AsyncTable directly if you want to use callback. We reuse the callback for
coprocessor here, and the problem is that for batch operation, the
AsyncTable does not tell us the region, so in this method we need an extra
locating after we get the result, which is not good. |
<R> void |
TableOverAsyncTable.batchCallback(List<? extends Row> actions,
Object[] results,
Batch.Callback<R> callback) |
default <R extends org.apache.hbase.thirdparty.com.google.protobuf.Message> |
Table.batchCoprocessorService(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
org.apache.hbase.thirdparty.com.google.protobuf.Message request,
byte[] startKey,
byte[] endKey,
R responsePrototype,
Batch.Callback<R> callback)
Deprecated.
since 3.0.0, will removed in 4.0.0. The batch call here references the blocking
interface for of a protobuf stub, so it is not possible to do it in an asynchronous
way, even if now we are building the
Table implementation based on the
AsyncTable , which is not good. Use the coprocessorService methods in
AsyncTable directly instead. |
<R extends org.apache.hbase.thirdparty.com.google.protobuf.Message> |
TableOverAsyncTable.batchCoprocessorService(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
org.apache.hbase.thirdparty.com.google.protobuf.Message request,
byte[] startKey,
byte[] endKey,
R responsePrototype,
Batch.Callback<R> callback) |
default <T extends org.apache.hbase.thirdparty.com.google.protobuf.Service,R> |
Table.coprocessorService(Class<T> service,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback)
Deprecated.
since 3.0.0, will removed in 4.0.0. The batch call here references the blocking
interface for of a protobuf stub, so it is not possible to do it in an asynchronous
way, even if now we are building the
Table implementation based on the
AsyncTable , which is not good. Use the coprocessorService methods in
AsyncTable directly instead. |
<T extends org.apache.hbase.thirdparty.com.google.protobuf.Service,R> |
TableOverAsyncTable.coprocessorService(Class<T> service,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback) |
private <R> void |
TableOverAsyncTable.coprocessorService(String serviceName,
byte[] startKey,
byte[] endKey,
Batch.Callback<R> callback,
TableOverAsyncTable.StubCall<R> call) |
Modifier and Type | Method and Description |
---|---|
<R> void |
ThriftTable.batchCallback(List<? extends Row> actions,
Object[] results,
Batch.Callback<R> callback) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.