public class TMapTypeEntry extends Object implements org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>, Serializable, 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 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(Object that) |
boolean |
equals(TMapTypeEntry that) |
TMapTypeEntry._Fields |
fieldForId(int fieldId) |
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,
Object value) |
void |
setKeyTypePtr(int keyTypePtr) |
void |
setKeyTypePtrIsSet(boolean value) |
void |
setValueTypePtr(int valueTypePtr) |
void |
setValueTypePtrIsSet(boolean value) |
String |
toString() |
void |
unsetKeyTypePtr() |
void |
unsetValueTypePtr() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final 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, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TMapTypeEntry,TMapTypeEntry._Fields>
public 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(TMapTypeEntry that)
public int compareTo(TMapTypeEntry other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.