|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.thrift.test.Complex
public class Complex
Nested Class Summary | |
---|---|
static class |
Complex._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<Complex._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
Complex()
|
|
Complex(Complex other)
Performs a deep copy on other. |
|
Complex(int aint,
String aString,
List<Integer> lint,
List<String> lString,
List<IntString> lintString,
Map<String,String> mStringString)
|
Method Summary | |
---|---|
void |
addToLint(int elem)
|
void |
addToLintString(IntString elem)
|
void |
addToLString(String elem)
|
void |
clear()
|
int |
compareTo(Complex other)
|
Complex |
deepCopy()
|
boolean |
equals(Complex that)
|
boolean |
equals(Object that)
|
Complex._Fields |
fieldForId(int fieldId)
|
int |
getAint()
|
String |
getAString()
|
Object |
getFieldValue(Complex._Fields field)
|
List<Integer> |
getLint()
|
Iterator<Integer> |
getLintIterator()
|
int |
getLintSize()
|
List<IntString> |
getLintString()
|
Iterator<IntString> |
getLintStringIterator()
|
int |
getLintStringSize()
|
List<String> |
getLString()
|
Iterator<String> |
getLStringIterator()
|
int |
getLStringSize()
|
Map<String,String> |
getMStringString()
|
int |
getMStringStringSize()
|
int |
hashCode()
|
boolean |
isSet(Complex._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetAint()
Returns true if field aint is set (has been asigned a value) and false otherwise |
boolean |
isSetAString()
Returns true if field aString is set (has been asigned a value) and false otherwise |
boolean |
isSetLint()
Returns true if field lint is set (has been asigned a value) and false otherwise |
boolean |
isSetLintString()
Returns true if field lintString is set (has been asigned a value) and false otherwise |
boolean |
isSetLString()
Returns true if field lString is set (has been asigned a value) and false otherwise |
boolean |
isSetMStringString()
Returns true if field mStringString is set (has been asigned a value) and false otherwise |
void |
putToMStringString(String key,
String val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setAint(int aint)
|
void |
setAintIsSet(boolean value)
|
void |
setAString(String aString)
|
void |
setAStringIsSet(boolean value)
|
void |
setFieldValue(Complex._Fields field,
Object value)
|
void |
setLint(List<Integer> lint)
|
void |
setLintIsSet(boolean value)
|
void |
setLintString(List<IntString> lintString)
|
void |
setLintStringIsSet(boolean value)
|
void |
setLString(List<String> lString)
|
void |
setLStringIsSet(boolean value)
|
void |
setMStringString(Map<String,String> mStringString)
|
void |
setMStringStringIsSet(boolean value)
|
String |
toString()
|
void |
unsetAint()
|
void |
unsetAString()
|
void |
unsetLint()
|
void |
unsetLintString()
|
void |
unsetLString()
|
void |
unsetMStringString()
|
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<Complex._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public Complex()
public Complex(int aint, String aString, List<Integer> lint, List<String> lString, List<IntString> lintString, Map<String,String> mStringString)
public Complex(Complex other)
Method Detail |
---|
public Complex deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public int getAint()
public void setAint(int aint)
public void unsetAint()
public boolean isSetAint()
public void setAintIsSet(boolean value)
public String getAString()
public void setAString(String aString)
public void unsetAString()
public boolean isSetAString()
public void setAStringIsSet(boolean value)
public int getLintSize()
public Iterator<Integer> getLintIterator()
public void addToLint(int elem)
public List<Integer> getLint()
public void setLint(List<Integer> lint)
public void unsetLint()
public boolean isSetLint()
public void setLintIsSet(boolean value)
public int getLStringSize()
public Iterator<String> getLStringIterator()
public void addToLString(String elem)
public List<String> getLString()
public void setLString(List<String> lString)
public void unsetLString()
public boolean isSetLString()
public void setLStringIsSet(boolean value)
public int getLintStringSize()
public Iterator<IntString> getLintStringIterator()
public void addToLintString(IntString elem)
public List<IntString> getLintString()
public void setLintString(List<IntString> lintString)
public void unsetLintString()
public boolean isSetLintString()
public void setLintStringIsSet(boolean value)
public int getMStringStringSize()
public void putToMStringString(String key, String val)
public Map<String,String> getMStringString()
public void setMStringString(Map<String,String> mStringString)
public void unsetMStringString()
public boolean isSetMStringString()
public void setMStringStringIsSet(boolean value)
public void setFieldValue(Complex._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public Object getFieldValue(Complex._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public boolean isSet(Complex._Fields field)
isSet
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Complex that)
public int hashCode()
hashCode
in class Object
public int compareTo(Complex other)
compareTo
in interface Comparable<Complex>
public Complex._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Complex,Complex._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<Complex,Complex._Fields>
org.apache.thrift.TException
public 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 |