|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.serde.test.ThriftTestObj
public class ThriftTestObj
| Nested Class Summary | |
|---|---|
static class |
ThriftTestObj._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
static Map<ThriftTestObj._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
| Constructor Summary | |
|---|---|
ThriftTestObj()
|
|
ThriftTestObj(int field1,
String field2,
List<InnerStruct> field3)
|
|
ThriftTestObj(ThriftTestObj other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
void |
addToField3(InnerStruct elem)
|
void |
clear()
|
int |
compareTo(ThriftTestObj other)
|
ThriftTestObj |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(ThriftTestObj that)
|
ThriftTestObj._Fields |
fieldForId(int fieldId)
|
int |
getField1()
|
String |
getField2()
|
List<InnerStruct> |
getField3()
|
Iterator<InnerStruct> |
getField3Iterator()
|
int |
getField3Size()
|
Object |
getFieldValue(ThriftTestObj._Fields field)
|
int |
hashCode()
|
boolean |
isSet(ThriftTestObj._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetField1()
Returns true if field field1 is set (has been assigned a value) and false otherwise |
boolean |
isSetField2()
Returns true if field field2 is set (has been assigned a value) and false otherwise |
boolean |
isSetField3()
Returns true if field field3 is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setField1(int field1)
|
void |
setField1IsSet(boolean value)
|
void |
setField2(String field2)
|
void |
setField2IsSet(boolean value)
|
void |
setField3(List<InnerStruct> field3)
|
void |
setField3IsSet(boolean value)
|
void |
setFieldValue(ThriftTestObj._Fields field,
Object value)
|
String |
toString()
|
void |
unsetField1()
|
void |
unsetField2()
|
void |
unsetField3()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Map<ThriftTestObj._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public ThriftTestObj()
public ThriftTestObj(int field1,
String field2,
List<InnerStruct> field3)
public ThriftTestObj(ThriftTestObj other)
| Method Detail |
|---|
public ThriftTestObj deepCopy()
deepCopy in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._Fields>public int getField1()
public void setField1(int field1)
public void unsetField1()
public boolean isSetField1()
public void setField1IsSet(boolean value)
public String getField2()
public void setField2(String field2)
public void unsetField2()
public boolean isSetField2()
public void setField2IsSet(boolean value)
public int getField3Size()
public Iterator<InnerStruct> getField3Iterator()
public void addToField3(InnerStruct elem)
public List<InnerStruct> getField3()
public void setField3(List<InnerStruct> field3)
public void unsetField3()
public boolean isSetField3()
public void setField3IsSet(boolean value)
public void setFieldValue(ThriftTestObj._Fields field,
Object value)
setFieldValue in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._Fields>public Object getFieldValue(ThriftTestObj._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._Fields>public boolean isSet(ThriftTestObj._Fields field)
isSet in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._Fields>public boolean equals(Object that)
equals in class Objectpublic boolean equals(ThriftTestObj that)
public int hashCode()
hashCode in class Objectpublic int compareTo(ThriftTestObj other)
compareTo in interface Comparable<ThriftTestObj>public ThriftTestObj._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ThriftTestObj,ThriftTestObj._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<ThriftTestObj,ThriftTestObj._Fields>org.apache.thrift.TExceptionpublic String toString()
toString in class Object
public void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||