public static interface KeyValueWorkerClientService.Iface extends AlluxioService.Iface
| Modifier and Type | Method and Description |
|---|---|
GetTResponse |
get(long blockId,
java.nio.ByteBuffer key,
GetTOptions options)
Looks up a key in the block with the given block id.
|
GetNextKeysTResponse |
getNextKeys(long blockId,
java.nio.ByteBuffer key,
int numKeys,
GetNextKeysTOptions options)
Gets a batch of keys next to the given key in the partition.
|
GetSizeTResponse |
getSize(long blockId,
GetSizeTOptions options)
Gets the number of key-value pairs in the partition.
|
getServiceVersionGetTResponse get(long blockId, java.nio.ByteBuffer key, GetTOptions options) throws AlluxioTException, org.apache.thrift.TException
blockId - the id of the block being accessedkey - binary of the keyoptions - the method optionsAlluxioTExceptionorg.apache.thrift.TExceptionGetNextKeysTResponse getNextKeys(long blockId, java.nio.ByteBuffer key, int numKeys, GetNextKeysTOptions options) throws AlluxioTException, org.apache.thrift.TException
blockId - the id of the partitionkey - current keynumKeys - maximum number of keys to getoptions - the method optionsAlluxioTExceptionorg.apache.thrift.TExceptionGetSizeTResponse getSize(long blockId, GetSizeTOptions options) throws AlluxioTException, org.apache.thrift.TException
blockId - the id of the partitionoptions - the method optionsAlluxioTExceptionorg.apache.thrift.TExceptionCopyright © 2019. All Rights Reserved.