public static class TKvdbService.rget_args extends Object implements org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>, Serializable, Cloneable
限定符和类型 | 类和说明 |
---|---|
static class |
TKvdbService.rget_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
int |
count |
KeyPair |
kp |
static Map<TKvdbService.rget_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
startKey |
ByteBuffer |
stopKey |
构造器和说明 |
---|
TKvdbService.rget_args() |
TKvdbService.rget_args(KeyPair kp,
ByteBuffer startKey,
ByteBuffer stopKey,
int count) |
TKvdbService.rget_args(TKvdbService.rget_args other)
Performs a deep copy on other.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuffer |
bufferForStartKey() |
ByteBuffer |
bufferForStopKey() |
void |
clear() |
int |
compareTo(TKvdbService.rget_args other) |
TKvdbService.rget_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TKvdbService.rget_args that) |
TKvdbService.rget_args._Fields |
fieldForId(int fieldId) |
int |
getCount() |
Object |
getFieldValue(TKvdbService.rget_args._Fields field) |
KeyPair |
getKp() |
byte[] |
getStartKey() |
byte[] |
getStopKey() |
int |
hashCode() |
boolean |
isSet(TKvdbService.rget_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCount()
Returns true if field count is set (has been assigned a value) and false otherwise
|
boolean |
isSetKp()
Returns true if field kp is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartKey()
Returns true if field startKey is set (has been assigned a value) and false otherwise
|
boolean |
isSetStopKey()
Returns true if field stopKey is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TKvdbService.rget_args |
setCount(int count) |
void |
setCountIsSet(boolean value) |
void |
setFieldValue(TKvdbService.rget_args._Fields field,
Object value) |
TKvdbService.rget_args |
setKp(KeyPair kp) |
void |
setKpIsSet(boolean value) |
TKvdbService.rget_args |
setStartKey(byte[] startKey) |
TKvdbService.rget_args |
setStartKey(ByteBuffer startKey) |
void |
setStartKeyIsSet(boolean value) |
TKvdbService.rget_args |
setStopKey(byte[] stopKey) |
TKvdbService.rget_args |
setStopKey(ByteBuffer stopKey) |
void |
setStopKeyIsSet(boolean value) |
String |
toString() |
void |
unsetCount() |
void |
unsetKp() |
void |
unsetStartKey() |
void |
unsetStopKey() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public KeyPair kp
public ByteBuffer startKey
public ByteBuffer stopKey
public int count
public static final Map<TKvdbService.rget_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TKvdbService.rget_args()
public TKvdbService.rget_args(KeyPair kp, ByteBuffer startKey, ByteBuffer stopKey, int count)
public TKvdbService.rget_args(TKvdbService.rget_args other)
public TKvdbService.rget_args deepCopy()
deepCopy
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
public void clear()
clear
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
public KeyPair getKp()
public TKvdbService.rget_args setKp(KeyPair kp)
public void unsetKp()
public boolean isSetKp()
public void setKpIsSet(boolean value)
public byte[] getStartKey()
public ByteBuffer bufferForStartKey()
public TKvdbService.rget_args setStartKey(byte[] startKey)
public TKvdbService.rget_args setStartKey(ByteBuffer startKey)
public void unsetStartKey()
public boolean isSetStartKey()
public void setStartKeyIsSet(boolean value)
public byte[] getStopKey()
public ByteBuffer bufferForStopKey()
public TKvdbService.rget_args setStopKey(byte[] stopKey)
public TKvdbService.rget_args setStopKey(ByteBuffer stopKey)
public void unsetStopKey()
public boolean isSetStopKey()
public void setStopKeyIsSet(boolean value)
public int getCount()
public TKvdbService.rget_args setCount(int count)
public void unsetCount()
public boolean isSetCount()
public void setCountIsSet(boolean value)
public void setFieldValue(TKvdbService.rget_args._Fields field, Object value)
setFieldValue
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
public Object getFieldValue(TKvdbService.rget_args._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
public boolean isSet(TKvdbService.rget_args._Fields field)
isSet
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
public boolean equals(TKvdbService.rget_args that)
public int compareTo(TKvdbService.rget_args other)
compareTo
在接口中 Comparable<TKvdbService.rget_args>
public TKvdbService.rget_args._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
在接口中 org.apache.thrift.TBase<TKvdbService.rget_args,TKvdbService.rget_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All rights reserved.