public class Complex extends Object implements org.apache.thrift.TBase<Complex,Complex._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Complex._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<Complex._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
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,
Map<String,Map<String,Map<String,PropValueUnion>>> attributes,
PropValueUnion unionField1,
PropValueUnion unionField2,
PropValueUnion unionField3) |
Modifier and Type | Method and Description |
---|---|
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() |
Map<String,Map<String,Map<String,PropValueUnion>>> |
getAttributes() |
int |
getAttributesSize() |
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() |
PropValueUnion |
getUnionField1() |
PropValueUnion |
getUnionField2() |
PropValueUnion |
getUnionField3() |
int |
hashCode() |
boolean |
isSet(Complex._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAint()
Returns true if field aint is set (has been assigned a value) and false otherwise
|
boolean |
isSetAString()
Returns true if field aString is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetLint()
Returns true if field lint is set (has been assigned a value) and false otherwise
|
boolean |
isSetLintString()
Returns true if field lintString is set (has been assigned a value) and false otherwise
|
boolean |
isSetLString()
Returns true if field lString is set (has been assigned a value) and false otherwise
|
boolean |
isSetMStringString()
Returns true if field mStringString is set (has been assigned a value) and false otherwise
|
boolean |
isSetUnionField1()
Returns true if field unionField1 is set (has been assigned a value) and false otherwise
|
boolean |
isSetUnionField2()
Returns true if field unionField2 is set (has been assigned a value) and false otherwise
|
boolean |
isSetUnionField3()
Returns true if field unionField3 is set (has been assigned a value) and false otherwise
|
void |
putToAttributes(String key,
Map<String,Map<String,PropValueUnion>> val) |
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 |
setAttributes(Map<String,Map<String,Map<String,PropValueUnion>>> attributes) |
void |
setAttributesIsSet(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) |
void |
setUnionField1(PropValueUnion unionField1) |
void |
setUnionField1IsSet(boolean value) |
void |
setUnionField2(PropValueUnion unionField2) |
void |
setUnionField2IsSet(boolean value) |
void |
setUnionField3(PropValueUnion unionField3) |
void |
setUnionField3IsSet(boolean value) |
String |
toString() |
void |
unsetAint() |
void |
unsetAString() |
void |
unsetAttributes() |
void |
unsetLint() |
void |
unsetLintString() |
void |
unsetLString() |
void |
unsetMStringString() |
void |
unsetUnionField1() |
void |
unsetUnionField2() |
void |
unsetUnionField3() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Complex._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Complex()
public Complex(int aint, String aString, List<Integer> lint, List<String> lString, List<IntString> lintString, Map<String,String> mStringString, Map<String,Map<String,Map<String,PropValueUnion>>> attributes, PropValueUnion unionField1, PropValueUnion unionField2, PropValueUnion unionField3)
public Complex(Complex other)
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 void addToLint(int elem)
public void unsetLint()
public boolean isSetLint()
public void setLintIsSet(boolean value)
public int getLStringSize()
public void addToLString(String elem)
public void unsetLString()
public boolean isSetLString()
public void setLStringIsSet(boolean value)
public int getLintStringSize()
public void addToLintString(IntString elem)
public void unsetLintString()
public boolean isSetLintString()
public void setLintStringIsSet(boolean value)
public int getMStringStringSize()
public void unsetMStringString()
public boolean isSetMStringString()
public void setMStringStringIsSet(boolean value)
public int getAttributesSize()
public void setAttributes(Map<String,Map<String,Map<String,PropValueUnion>>> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public PropValueUnion getUnionField1()
public void setUnionField1(PropValueUnion unionField1)
public void unsetUnionField1()
public boolean isSetUnionField1()
public void setUnionField1IsSet(boolean value)
public PropValueUnion getUnionField2()
public void setUnionField2(PropValueUnion unionField2)
public void unsetUnionField2()
public boolean isSetUnionField2()
public void setUnionField2IsSet(boolean value)
public PropValueUnion getUnionField3()
public void setUnionField3(PropValueUnion unionField3)
public void unsetUnionField3()
public boolean isSetUnionField3()
public void setUnionField3IsSet(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(Complex that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.