private final class RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R> extends Object implements AsyncTable.CoprocessorServiceBuilder<S,R>
| Modifier and Type | Field and Description | 
|---|---|
| private ServiceCaller<S,R> | callable | 
| private AsyncTable.CoprocessorCallback<R> | callback | 
| private byte[] | endKey | 
| private boolean | endKeyInclusive | 
| private byte[] | startKey | 
| private boolean | startKeyInclusive | 
| private Function<com.google.protobuf.RpcChannel,S> | stubMaker | 
| Constructor and Description | 
|---|
| CoprocessorServiceBuilderImpl(Function<com.google.protobuf.RpcChannel,S> stubMaker,
                             ServiceCaller<S,R> callable,
                             AsyncTable.CoprocessorCallback<R> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute()Execute the coprocessorService request. | 
| RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R> | fromRow(byte[] startKey,
       boolean inclusive) | 
| RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R> | toRow(byte[] endKey,
     boolean inclusive) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromRow, toRowprivate final ServiceCaller<S,R> callable
private final AsyncTable.CoprocessorCallback<R> callback
private byte[] startKey
private boolean startKeyInclusive
private byte[] endKey
private boolean endKeyInclusive
public CoprocessorServiceBuilderImpl(Function<com.google.protobuf.RpcChannel,S> stubMaker, ServiceCaller<S,R> callable, AsyncTable.CoprocessorCallback<R> callback)
public RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R> fromRow(byte[] startKey, boolean inclusive)
fromRow in interface AsyncTable.CoprocessorServiceBuilder<S,R>startKey - start region selection with region containing this rowinclusive - whether to include the startKeypublic RawAsyncTableImpl.CoprocessorServiceBuilderImpl<S,R> toRow(byte[] endKey, boolean inclusive)
toRow in interface AsyncTable.CoprocessorServiceBuilder<S,R>endKey - select regions up to and including the region containing this rowinclusive - whether to include the endKeypublic void execute()
AsyncTable.CoprocessorServiceBuilderAsyncTable.CoprocessorCallback.execute in interface AsyncTable.CoprocessorServiceBuilder<S,R>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.