public class TTypeDesc extends Object implements org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TTypeDesc._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<TTypeDesc._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TTypeDesc() |
TTypeDesc(List<TTypeEntry> types) |
TTypeDesc(TTypeDesc other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToTypes(TTypeEntry elem) |
void |
clear() |
int |
compareTo(TTypeDesc other) |
TTypeDesc |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TTypeDesc that) |
TTypeDesc._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TTypeDesc._Fields field) |
List<TTypeEntry> |
getTypes() |
Iterator<TTypeEntry> |
getTypesIterator() |
int |
getTypesSize() |
int |
hashCode() |
boolean |
isSet(TTypeDesc._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTypes()
Returns true if field types is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TTypeDesc._Fields field,
Object value) |
void |
setTypes(List<TTypeEntry> types) |
void |
setTypesIsSet(boolean value) |
String |
toString() |
void |
unsetTypes() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TTypeDesc._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TTypeDesc()
public TTypeDesc(List<TTypeEntry> types)
public TTypeDesc(TTypeDesc other)
public TTypeDesc deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>
public int getTypesSize()
public Iterator<TTypeEntry> getTypesIterator()
public void addToTypes(TTypeEntry elem)
public List<TTypeEntry> getTypes()
public void setTypes(List<TTypeEntry> types)
public void unsetTypes()
public boolean isSetTypes()
public void setTypesIsSet(boolean value)
public void setFieldValue(TTypeDesc._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>
public Object getFieldValue(TTypeDesc._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>
public boolean isSet(TTypeDesc._Fields field)
isSet
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>
public boolean equals(TTypeDesc that)
public int compareTo(TTypeDesc other)
compareTo
in interface Comparable<TTypeDesc>
public TTypeDesc._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TTypeDesc,TTypeDesc._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<TTypeDesc,TTypeDesc._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.