S
- the type of the protobuf Service you want to call.R
- the type of the return value.public static interface AsyncTable.CoprocessorServiceBuilder<S,R>
If fromRow
is not specified the selection will start with the first table region. If
toRow
is not specified the selection will continue through the last table region.
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the coprocessorService request.
|
default AsyncTable.CoprocessorServiceBuilder<S,R> |
fromRow(byte[] startKey) |
AsyncTable.CoprocessorServiceBuilder<S,R> |
fromRow(byte[] startKey,
boolean inclusive) |
default AsyncTable.CoprocessorServiceBuilder<S,R> |
toRow(byte[] endKey) |
AsyncTable.CoprocessorServiceBuilder<S,R> |
toRow(byte[] endKey,
boolean inclusive) |
default AsyncTable.CoprocessorServiceBuilder<S,R> fromRow(byte[] startKey)
startKey
- start region selection with region containing this row, inclusive.AsyncTable.CoprocessorServiceBuilder<S,R> fromRow(byte[] startKey, boolean inclusive)
startKey
- start region selection with region containing this rowinclusive
- whether to include the startKeydefault AsyncTable.CoprocessorServiceBuilder<S,R> toRow(byte[] endKey)
endKey
- select regions up to and including the region containing this row, exclusive.AsyncTable.CoprocessorServiceBuilder<S,R> toRow(byte[] endKey, boolean inclusive)
endKey
- select regions up to and including the region containing this rowinclusive
- whether to include the endKeyvoid execute()
AsyncTable.CoprocessorCallback
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.