public static class KeyValueWorkerClientService.Client extends AlluxioService.Client implements KeyValueWorkerClientService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueWorkerClientService.Client.Factory |
| Constructor and Description |
|---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| 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.
|
GetTResponse |
recv_get() |
GetNextKeysTResponse |
recv_getNextKeys() |
GetSizeTResponse |
recv_getSize() |
void |
send_get(long blockId,
java.nio.ByteBuffer key,
GetTOptions options) |
void |
send_getNextKeys(long blockId,
java.nio.ByteBuffer key,
int numKeys,
GetNextKeysTOptions options) |
void |
send_getSize(long blockId,
GetSizeTOptions options) |
getServiceVersion, recv_getServiceVersion, send_getServiceVersiongetInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOnewayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceVersionpublic Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public GetTResponse get(long blockId, java.nio.ByteBuffer key, GetTOptions options) throws AlluxioTException, org.apache.thrift.TException
KeyValueWorkerClientService.Ifaceget in interface KeyValueWorkerClientService.IfaceblockId - the id of the block being accessedkey - binary of the keyoptions - the method optionsAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_get(long blockId,
java.nio.ByteBuffer key,
GetTOptions options)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic GetTResponse recv_get() throws AlluxioTException, org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionpublic GetNextKeysTResponse getNextKeys(long blockId, java.nio.ByteBuffer key, int numKeys, GetNextKeysTOptions options) throws AlluxioTException, org.apache.thrift.TException
KeyValueWorkerClientService.IfacegetNextKeys in interface KeyValueWorkerClientService.IfaceblockId - the id of the partitionkey - current keynumKeys - maximum number of keys to getoptions - the method optionsAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_getNextKeys(long blockId,
java.nio.ByteBuffer key,
int numKeys,
GetNextKeysTOptions options)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic GetNextKeysTResponse recv_getNextKeys() throws AlluxioTException, org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionpublic GetSizeTResponse getSize(long blockId, GetSizeTOptions options) throws AlluxioTException, org.apache.thrift.TException
KeyValueWorkerClientService.IfacegetSize in interface KeyValueWorkerClientService.IfaceblockId - the id of the partitionoptions - the method optionsAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_getSize(long blockId,
GetSizeTOptions options)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic GetSizeTResponse recv_getSize() throws AlluxioTException, org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionCopyright © 2019. All Rights Reserved.