public static interface KeyValueWorkerClientService.Iface extends AlluxioService.Iface
Modifier and Type | Method and Description |
---|---|
GetTResponse |
get(long blockId,
ByteBuffer key,
GetTOptions options)
Looks up a key in the block with the given block id.
|
GetNextKeysTResponse |
getNextKeys(long blockId,
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.
|
getServiceVersion
GetTResponse get(long blockId, ByteBuffer key, GetTOptions options) throws AlluxioTException, org.apache.thrift.TException
blockId
- the id of the block being accessedkey
- binary of the keyoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
GetNextKeysTResponse getNextKeys(long blockId, 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 optionsAlluxioTException
org.apache.thrift.TException
GetSizeTResponse getSize(long blockId, GetSizeTOptions options) throws AlluxioTException, org.apache.thrift.TException
blockId
- the id of the partitionoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.