public static class TKvdbService.prkget_args extends Object implements org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>, Serializable, Cloneable
限定符和类型 | 类和说明 |
---|---|
static class |
TKvdbService.prkget_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
ByteBuffer |
compareKey |
int |
count |
boolean |
isContainValue |
KeyPair |
kp |
static Map<TKvdbService.prkget_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
prefixKey |
构造器和说明 |
---|
TKvdbService.prkget_args() |
TKvdbService.prkget_args(KeyPair kp,
ByteBuffer prefixKey,
int count,
boolean isContainValue,
ByteBuffer compareKey) |
TKvdbService.prkget_args(TKvdbService.prkget_args other)
Performs a deep copy on other.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuffer |
bufferForCompareKey() |
ByteBuffer |
bufferForPrefixKey() |
void |
clear() |
int |
compareTo(TKvdbService.prkget_args other) |
TKvdbService.prkget_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TKvdbService.prkget_args that) |
TKvdbService.prkget_args._Fields |
fieldForId(int fieldId) |
byte[] |
getCompareKey() |
int |
getCount() |
Object |
getFieldValue(TKvdbService.prkget_args._Fields field) |
KeyPair |
getKp() |
byte[] |
getPrefixKey() |
int |
hashCode() |
boolean |
isIsContainValue() |
boolean |
isSet(TKvdbService.prkget_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompareKey()
Returns true if field compareKey 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 |
isSetIsContainValue()
Returns true if field isContainValue 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 |
isSetPrefixKey()
Returns true if field prefixKey is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TKvdbService.prkget_args |
setCompareKey(byte[] compareKey) |
TKvdbService.prkget_args |
setCompareKey(ByteBuffer compareKey) |
void |
setCompareKeyIsSet(boolean value) |
TKvdbService.prkget_args |
setCount(int count) |
void |
setCountIsSet(boolean value) |
void |
setFieldValue(TKvdbService.prkget_args._Fields field,
Object value) |
TKvdbService.prkget_args |
setIsContainValue(boolean isContainValue) |
void |
setIsContainValueIsSet(boolean value) |
TKvdbService.prkget_args |
setKp(KeyPair kp) |
void |
setKpIsSet(boolean value) |
TKvdbService.prkget_args |
setPrefixKey(byte[] prefixKey) |
TKvdbService.prkget_args |
setPrefixKey(ByteBuffer prefixKey) |
void |
setPrefixKeyIsSet(boolean value) |
String |
toString() |
void |
unsetCompareKey() |
void |
unsetCount() |
void |
unsetIsContainValue() |
void |
unsetKp() |
void |
unsetPrefixKey() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public KeyPair kp
public ByteBuffer prefixKey
public int count
public boolean isContainValue
public ByteBuffer compareKey
public static final Map<TKvdbService.prkget_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TKvdbService.prkget_args()
public TKvdbService.prkget_args(KeyPair kp, ByteBuffer prefixKey, int count, boolean isContainValue, ByteBuffer compareKey)
public TKvdbService.prkget_args(TKvdbService.prkget_args other)
public TKvdbService.prkget_args deepCopy()
deepCopy
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>
public void clear()
clear
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>
public KeyPair getKp()
public TKvdbService.prkget_args setKp(KeyPair kp)
public void unsetKp()
public boolean isSetKp()
public void setKpIsSet(boolean value)
public byte[] getPrefixKey()
public ByteBuffer bufferForPrefixKey()
public TKvdbService.prkget_args setPrefixKey(byte[] prefixKey)
public TKvdbService.prkget_args setPrefixKey(ByteBuffer prefixKey)
public void unsetPrefixKey()
public boolean isSetPrefixKey()
public void setPrefixKeyIsSet(boolean value)
public int getCount()
public TKvdbService.prkget_args setCount(int count)
public void unsetCount()
public boolean isSetCount()
public void setCountIsSet(boolean value)
public boolean isIsContainValue()
public TKvdbService.prkget_args setIsContainValue(boolean isContainValue)
public void unsetIsContainValue()
public boolean isSetIsContainValue()
public void setIsContainValueIsSet(boolean value)
public byte[] getCompareKey()
public ByteBuffer bufferForCompareKey()
public TKvdbService.prkget_args setCompareKey(byte[] compareKey)
public TKvdbService.prkget_args setCompareKey(ByteBuffer compareKey)
public void unsetCompareKey()
public boolean isSetCompareKey()
public void setCompareKeyIsSet(boolean value)
public void setFieldValue(TKvdbService.prkget_args._Fields field, Object value)
setFieldValue
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>
public Object getFieldValue(TKvdbService.prkget_args._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>
public boolean isSet(TKvdbService.prkget_args._Fields field)
isSet
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>
public boolean equals(TKvdbService.prkget_args that)
public int compareTo(TKvdbService.prkget_args other)
compareTo
在接口中 Comparable<TKvdbService.prkget_args>
public TKvdbService.prkget_args._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TBase<TKvdbService.prkget_args,TKvdbService.prkget_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.prkget_args,TKvdbService.prkget_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All rights reserved.