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
Modifier and TypeFieldDescriptionprivate final ServiceCaller<S,
R> private final AsyncTable.CoprocessorCallback<R>
private byte[]
private boolean
private byte[]
private boolean
-
Constructor Summary
ConstructorDescriptionCoprocessorServiceBuilderImpl
(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, wait
Methods 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.CoprocessorServiceBuilder
Specify a start row- Specified by:
fromRow
in 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.CoprocessorServiceBuilder
Specify a stop row- Specified by:
toRow
in 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.CoprocessorServiceBuilder
Execute the coprocessorService request. You can get the response through theAsyncTable.CoprocessorCallback
.- Specified by:
execute
in interfaceAsyncTable.CoprocessorServiceBuilder<S,
R>
-