public class PropValueUnion extends org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
PropValueUnion._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<PropValueUnion._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PropValueUnion() |
PropValueUnion(PropValueUnion._Fields setField,
Object value) |
PropValueUnion(PropValueUnion other) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkType(PropValueUnion._Fields setField,
Object value) |
int |
compareTo(PropValueUnion other) |
PropValueUnion |
deepCopy() |
static PropValueUnion |
doubleValue(double value) |
protected PropValueUnion._Fields |
enumForId(short id) |
boolean |
equals(Object other) |
boolean |
equals(PropValueUnion other) |
PropValueUnion._Fields |
fieldForId(int fieldId) |
static PropValueUnion |
flag(boolean value) |
double |
getDoubleValue() |
protected org.apache.thrift.protocol.TField |
getFieldDesc(PropValueUnion._Fields setField) |
boolean |
getFlag() |
int |
getIntValue() |
long |
getLongValue() |
List<String> |
getLString() |
String |
getStringValue() |
protected org.apache.thrift.protocol.TStruct |
getStructDesc() |
Map<String,String> |
getUnionMStringString() |
int |
hashCode() |
static PropValueUnion |
intValue(int value) |
boolean |
isSetDoubleValue() |
boolean |
isSetFlag() |
boolean |
isSetIntValue() |
boolean |
isSetLongValue() |
boolean |
isSetLString() |
boolean |
isSetStringValue() |
boolean |
isSetUnionMStringString() |
static PropValueUnion |
longValue(long value) |
static PropValueUnion |
lString(List<String> value) |
void |
setDoubleValue(double value) |
void |
setFlag(boolean value) |
void |
setIntValue(int value) |
void |
setLongValue(long value) |
void |
setLString(List<String> value) |
void |
setStringValue(String value) |
void |
setUnionMStringString(Map<String,String> value) |
protected Object |
standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field) |
protected void |
standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
static PropValueUnion |
stringValue(String value) |
protected Object |
tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID) |
protected void |
tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
static PropValueUnion |
unionMStringString(Map<String,String> value) |
public static final Map<PropValueUnion._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PropValueUnion()
public PropValueUnion(PropValueUnion._Fields setField, Object value)
public PropValueUnion(PropValueUnion other)
public PropValueUnion deepCopy()
public static PropValueUnion intValue(int value)
public static PropValueUnion longValue(long value)
public static PropValueUnion stringValue(String value)
public static PropValueUnion doubleValue(double value)
public static PropValueUnion flag(boolean value)
public static PropValueUnion lString(List<String> value)
public static PropValueUnion unionMStringString(Map<String,String> value)
protected void checkType(PropValueUnion._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
standardSchemeReadValue
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
org.apache.thrift.TException
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
standardSchemeWriteValue
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
org.apache.thrift.TException
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
org.apache.thrift.TException
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(PropValueUnion._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
protected PropValueUnion._Fields enumForId(short id)
enumForId
in class org.apache.thrift.TUnion<PropValueUnion,PropValueUnion._Fields>
public PropValueUnion._Fields fieldForId(int fieldId)
public int getIntValue()
public void setIntValue(int value)
public long getLongValue()
public void setLongValue(long value)
public String getStringValue()
public void setStringValue(String value)
public double getDoubleValue()
public void setDoubleValue(double value)
public boolean getFlag()
public void setFlag(boolean value)
public boolean isSetIntValue()
public boolean isSetLongValue()
public boolean isSetStringValue()
public boolean isSetDoubleValue()
public boolean isSetFlag()
public boolean isSetLString()
public boolean isSetUnionMStringString()
public boolean equals(PropValueUnion other)
public int compareTo(PropValueUnion other)
Copyright © 2016 The Apache Software Foundation. All rights reserved.