public class TMapTypeEntry extends java.lang.Object implements org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TMapTypeEntry._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<TMapTypeEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TMapTypeEntry() |
TMapTypeEntry(int keyTypePtr,
int valueTypePtr) |
TMapTypeEntry(TMapTypeEntry other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(TMapTypeEntry other) |
TMapTypeEntry |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TMapTypeEntry that) |
TMapTypeEntry._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(TMapTypeEntry._Fields field) |
int |
getKeyTypePtr() |
int |
getValueTypePtr() |
int |
hashCode() |
boolean |
isSet(TMapTypeEntry._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetKeyTypePtr()
Returns true if field keyTypePtr is set (has been assigned a value) and false otherwise
|
boolean |
isSetValueTypePtr()
Returns true if field valueTypePtr is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TMapTypeEntry._Fields field,
java.lang.Object value) |
void |
setKeyTypePtr(int keyTypePtr) |
void |
setKeyTypePtrIsSet(boolean value) |
void |
setValueTypePtr(int valueTypePtr) |
void |
setValueTypePtrIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetKeyTypePtr() |
void |
unsetValueTypePtr() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<TMapTypeEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TMapTypeEntry()
public TMapTypeEntry(int keyTypePtr,
int valueTypePtr)
public TMapTypeEntry(TMapTypeEntry other)
public TMapTypeEntry deepCopy()
deepCopy in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>public int getKeyTypePtr()
public void setKeyTypePtr(int keyTypePtr)
public void unsetKeyTypePtr()
public boolean isSetKeyTypePtr()
public void setKeyTypePtrIsSet(boolean value)
public int getValueTypePtr()
public void setValueTypePtr(int valueTypePtr)
public void unsetValueTypePtr()
public boolean isSetValueTypePtr()
public void setValueTypePtrIsSet(boolean value)
public void setFieldValue(TMapTypeEntry._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>public java.lang.Object getFieldValue(TMapTypeEntry._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>public boolean isSet(TMapTypeEntry._Fields field)
isSet in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(TMapTypeEntry that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TMapTypeEntry other)
compareTo in interface java.lang.Comparable<TMapTypeEntry>public TMapTypeEntry._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2012 The Apache Software Foundation