public class TItem extends Object implements org.apache.thrift.TBase<TItem,TItem._Fields>, Serializable, Cloneable
限定符和类型 | 类和说明 |
---|---|
static class |
TItem._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
ByteBuffer |
flag |
static Map<TItem._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
value |
构造器和说明 |
---|
TItem() |
TItem(ByteBuffer flag,
ByteBuffer value) |
TItem(TItem other)
Performs a deep copy on other.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuffer |
bufferForFlag() |
ByteBuffer |
bufferForValue() |
void |
clear() |
int |
compareTo(TItem other) |
TItem |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TItem that) |
TItem._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TItem._Fields field) |
byte[] |
getFlag() |
byte[] |
getValue() |
int |
hashCode() |
boolean |
isSet(TItem._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFlag()
Returns true if field flag is set (has been assigned a value) and false otherwise
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TItem._Fields field,
Object value) |
TItem |
setFlag(byte[] flag) |
TItem |
setFlag(ByteBuffer flag) |
void |
setFlagIsSet(boolean value) |
TItem |
setValue(byte[] value) |
TItem |
setValue(ByteBuffer value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetFlag() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer flag
public ByteBuffer value
public static final Map<TItem._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TItem()
public TItem(ByteBuffer flag, ByteBuffer value)
public TItem(TItem other)
public TItem deepCopy()
deepCopy
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
public void clear()
clear
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
public byte[] getFlag()
public ByteBuffer bufferForFlag()
public TItem setFlag(byte[] flag)
public TItem setFlag(ByteBuffer flag)
public void unsetFlag()
public boolean isSetFlag()
public void setFlagIsSet(boolean value)
public byte[] getValue()
public ByteBuffer bufferForValue()
public TItem setValue(byte[] value)
public TItem setValue(ByteBuffer value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public void setFieldValue(TItem._Fields field, Object value)
setFieldValue
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
public Object getFieldValue(TItem._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
public boolean isSet(TItem._Fields field)
isSet
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
public boolean equals(TItem that)
public int compareTo(TItem other)
compareTo
在接口中 Comparable<TItem>
public TItem._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
在接口中 org.apache.thrift.TBase<TItem,TItem._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All rights reserved.