public static class KeyValueWorkerClientService.get_args extends Object implements org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>, Serializable, Cloneable, Comparable<KeyValueWorkerClientService.get_args>
Modifier and Type | Class and Description |
---|---|
static class |
KeyValueWorkerClientService.get_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 Map<KeyValueWorkerClientService.get_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
get_args() |
get_args(KeyValueWorkerClientService.get_args other)
Performs a deep copy on other.
|
get_args(long blockId,
ByteBuffer key,
GetTOptions options) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForKey() |
void |
clear() |
int |
compareTo(KeyValueWorkerClientService.get_args other) |
KeyValueWorkerClientService.get_args |
deepCopy() |
boolean |
equals(KeyValueWorkerClientService.get_args that) |
boolean |
equals(Object that) |
KeyValueWorkerClientService.get_args._Fields |
fieldForId(int fieldId) |
long |
getBlockId()
the id of the block being accessed
|
Object |
getFieldValue(KeyValueWorkerClientService.get_args._Fields field) |
byte[] |
getKey()
binary of the key
|
GetTOptions |
getOptions()
the method options
|
int |
hashCode() |
boolean |
isSet(KeyValueWorkerClientService.get_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 |
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.get_args |
setBlockId(long blockId)
the id of the block being accessed
|
void |
setBlockIdIsSet(boolean value) |
void |
setFieldValue(KeyValueWorkerClientService.get_args._Fields field,
Object value) |
KeyValueWorkerClientService.get_args |
setKey(byte[] key)
binary of the key
|
KeyValueWorkerClientService.get_args |
setKey(ByteBuffer key) |
void |
setKeyIsSet(boolean value) |
KeyValueWorkerClientService.get_args |
setOptions(GetTOptions options)
the method options
|
void |
setOptionsIsSet(boolean value) |
String |
toString() |
void |
unsetBlockId() |
void |
unsetKey() |
void |
unsetOptions() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<KeyValueWorkerClientService.get_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public get_args()
public get_args(long blockId, ByteBuffer key, GetTOptions options)
public get_args(KeyValueWorkerClientService.get_args other)
public KeyValueWorkerClientService.get_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
public long getBlockId()
public KeyValueWorkerClientService.get_args setBlockId(long blockId)
public void unsetBlockId()
public boolean isSetBlockId()
public void setBlockIdIsSet(boolean value)
public byte[] getKey()
public ByteBuffer bufferForKey()
public KeyValueWorkerClientService.get_args setKey(byte[] key)
public KeyValueWorkerClientService.get_args setKey(ByteBuffer key)
public void unsetKey()
public boolean isSetKey()
public void setKeyIsSet(boolean value)
public GetTOptions getOptions()
public KeyValueWorkerClientService.get_args setOptions(GetTOptions options)
public void unsetOptions()
public boolean isSetOptions()
public void setOptionsIsSet(boolean value)
public void setFieldValue(KeyValueWorkerClientService.get_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
public Object getFieldValue(KeyValueWorkerClientService.get_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
public boolean isSet(KeyValueWorkerClientService.get_args._Fields field)
isSet
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
public boolean equals(KeyValueWorkerClientService.get_args that)
public int compareTo(KeyValueWorkerClientService.get_args other)
compareTo
in interface Comparable<KeyValueWorkerClientService.get_args>
public KeyValueWorkerClientService.get_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<KeyValueWorkerClientService.get_args,KeyValueWorkerClientService.get_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.