public static class KeyValueWorkerClientService.getNextKeys_args extends java.lang.Object implements org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<KeyValueWorkerClientService.getNextKeys_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueWorkerClientService.getNextKeys_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<KeyValueWorkerClientService.getNextKeys_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
getNextKeys_args() |
getNextKeys_args(KeyValueWorkerClientService.getNextKeys_args other)
Performs a deep copy on other.
|
getNextKeys_args(long blockId,
java.nio.ByteBuffer key,
int numKeys,
GetNextKeysTOptions options) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
bufferForKey() |
void |
clear() |
int |
compareTo(KeyValueWorkerClientService.getNextKeys_args other) |
KeyValueWorkerClientService.getNextKeys_args |
deepCopy() |
boolean |
equals(KeyValueWorkerClientService.getNextKeys_args that) |
boolean |
equals(java.lang.Object that) |
KeyValueWorkerClientService.getNextKeys_args._Fields |
fieldForId(int fieldId) |
long |
getBlockId()
the id of the partition
|
java.lang.Object |
getFieldValue(KeyValueWorkerClientService.getNextKeys_args._Fields field) |
byte[] |
getKey()
current key
|
int |
getNumKeys()
maximum number of keys to get
|
GetNextKeysTOptions |
getOptions()
the method options
|
int |
hashCode() |
boolean |
isSet(KeyValueWorkerClientService.getNextKeys_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockId()
Returns true if field blockId is set (has been assigned a value) and false otherwise
|
boolean |
isSetKey()
Returns true if field key is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumKeys()
Returns true if field numKeys is set (has been assigned a value) and false otherwise
|
boolean |
isSetOptions()
Returns true if field options is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
KeyValueWorkerClientService.getNextKeys_args |
setBlockId(long blockId)
the id of the partition
|
void |
setBlockIdIsSet(boolean value) |
void |
setFieldValue(KeyValueWorkerClientService.getNextKeys_args._Fields field,
java.lang.Object value) |
KeyValueWorkerClientService.getNextKeys_args |
setKey(byte[] key)
current key
|
KeyValueWorkerClientService.getNextKeys_args |
setKey(java.nio.ByteBuffer key) |
void |
setKeyIsSet(boolean value) |
KeyValueWorkerClientService.getNextKeys_args |
setNumKeys(int numKeys)
maximum number of keys to get
|
void |
setNumKeysIsSet(boolean value) |
KeyValueWorkerClientService.getNextKeys_args |
setOptions(GetNextKeysTOptions options)
the method options
|
void |
setOptionsIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetBlockId() |
void |
unsetKey() |
void |
unsetNumKeys() |
void |
unsetOptions() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<KeyValueWorkerClientService.getNextKeys_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public getNextKeys_args()
public getNextKeys_args(long blockId,
java.nio.ByteBuffer key,
int numKeys,
GetNextKeysTOptions options)
public getNextKeys_args(KeyValueWorkerClientService.getNextKeys_args other)
public KeyValueWorkerClientService.getNextKeys_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>public long getBlockId()
public KeyValueWorkerClientService.getNextKeys_args setBlockId(long blockId)
public void unsetBlockId()
public boolean isSetBlockId()
public void setBlockIdIsSet(boolean value)
public byte[] getKey()
public java.nio.ByteBuffer bufferForKey()
public KeyValueWorkerClientService.getNextKeys_args setKey(byte[] key)
public KeyValueWorkerClientService.getNextKeys_args setKey(java.nio.ByteBuffer key)
public void unsetKey()
public boolean isSetKey()
public void setKeyIsSet(boolean value)
public int getNumKeys()
public KeyValueWorkerClientService.getNextKeys_args setNumKeys(int numKeys)
public void unsetNumKeys()
public boolean isSetNumKeys()
public void setNumKeysIsSet(boolean value)
public GetNextKeysTOptions getOptions()
public KeyValueWorkerClientService.getNextKeys_args setOptions(GetNextKeysTOptions options)
public void unsetOptions()
public boolean isSetOptions()
public void setOptionsIsSet(boolean value)
public void setFieldValue(KeyValueWorkerClientService.getNextKeys_args._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>public java.lang.Object getFieldValue(KeyValueWorkerClientService.getNextKeys_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>public boolean isSet(KeyValueWorkerClientService.getNextKeys_args._Fields field)
isSet in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(KeyValueWorkerClientService.getNextKeys_args that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(KeyValueWorkerClientService.getNextKeys_args other)
compareTo in interface java.lang.Comparable<KeyValueWorkerClientService.getNextKeys_args>public KeyValueWorkerClientService.getNextKeys_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<KeyValueWorkerClientService.getNextKeys_args,KeyValueWorkerClientService.getNextKeys_args._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2019. All Rights Reserved.