Package org.apache.hadoop.hbase.client
Class RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R>
java.lang.Object
org.apache.hadoop.hbase.client.RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R>
- All Implemented Interfaces:
AsyncTable.CoprocessorServiceBuilder<S,R>
- Enclosing class:
- RawAsyncTableImpl
private final class RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R>
extends Object
implements AsyncTable.CoprocessorServiceBuilder<S,R>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ServiceCaller<S,R> private final AsyncTable.CoprocessorCallback<R>private byte[]private booleanprivate byte[]private boolean -
Constructor Summary
ConstructorsConstructorDescriptionCoprocessorServiceBuilderImpl(Function<com.google.protobuf.RpcChannel, S> stubMaker, ServiceCaller<S, R> callable, AsyncTable.CoprocessorCallback<R> callback) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder
fromRow, toRow
-
Field Details
-
stubMaker
-
callable
-
callback
-
startKey
-
startKeyInclusive
-
endKey
-
endKeyInclusive
-
-
Constructor Details
-
CoprocessorServiceBuilderImpl
public CoprocessorServiceBuilderImpl(Function<com.google.protobuf.RpcChannel, S> stubMaker, ServiceCaller<S, R> callable, AsyncTable.CoprocessorCallback<R> callback)
-
-
Method Details
-
fromRow
public RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R> fromRow(byte[] startKey, boolean inclusive) Description copied from interface:AsyncTable.CoprocessorServiceBuilderSpecify a start row- Specified by:
fromRowin interfaceAsyncTable.CoprocessorServiceBuilder<S,R> - Parameters:
startKey- start region selection with region containing this rowinclusive- whether to include the startKey
-
toRow
Description copied from interface:AsyncTable.CoprocessorServiceBuilderSpecify a stop row- Specified by:
toRowin interfaceAsyncTable.CoprocessorServiceBuilder<S,R> - Parameters:
endKey- select regions up to and including the region containing this rowinclusive- whether to include the endKey
-
execute
Description copied from interface:AsyncTable.CoprocessorServiceBuilderExecute the coprocessorService request. You can get the response through theAsyncTable.CoprocessorCallback.- Specified by:
executein interfaceAsyncTable.CoprocessorServiceBuilder<S,R>
-