org.apache.hive.service.cli.thrift
Class TGetInfoValue
java.lang.Object
org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
org.apache.hive.service.cli.thrift.TGetInfoValue
- All Implemented Interfaces:
- Serializable, Comparable<TGetInfoValue>, org.apache.thrift.TBase<TGetInfoValue,TGetInfoValue._Fields>
public class TGetInfoValue
- extends org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
- See Also:
- Serialized Form
Nested Class Summary |
static class |
TGetInfoValue._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Fields inherited from class org.apache.thrift.TUnion |
setField_, value_ |
Methods inherited from class org.apache.thrift.TUnion |
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, readValue, setFieldValue, setFieldValue, toString, write, writeValue |
metaDataMap
public static final Map<TGetInfoValue._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
TGetInfoValue
public TGetInfoValue()
TGetInfoValue
public TGetInfoValue(TGetInfoValue._Fields setField,
Object value)
TGetInfoValue
public TGetInfoValue(TGetInfoValue other)
deepCopy
public TGetInfoValue deepCopy()
stringValue
public static TGetInfoValue stringValue(String value)
smallIntValue
public static TGetInfoValue smallIntValue(short value)
integerBitmask
public static TGetInfoValue integerBitmask(int value)
integerFlag
public static TGetInfoValue integerFlag(int value)
binaryValue
public static TGetInfoValue binaryValue(int value)
lenValue
public static TGetInfoValue lenValue(long value)
checkType
protected void checkType(TGetInfoValue._Fields setField,
Object value)
throws ClassCastException
- Specified by:
checkType
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
- Throws:
ClassCastException
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(TGetInfoValue._Fields setField)
- Specified by:
getFieldDesc
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDesc
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
enumForId
protected TGetInfoValue._Fields enumForId(short id)
- Specified by:
enumForId
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
fieldForId
public TGetInfoValue._Fields fieldForId(int fieldId)
getStringValue
public String getStringValue()
setStringValue
public void setStringValue(String value)
getSmallIntValue
public short getSmallIntValue()
setSmallIntValue
public void setSmallIntValue(short value)
getIntegerBitmask
public int getIntegerBitmask()
setIntegerBitmask
public void setIntegerBitmask(int value)
getIntegerFlag
public int getIntegerFlag()
setIntegerFlag
public void setIntegerFlag(int value)
getBinaryValue
public int getBinaryValue()
setBinaryValue
public void setBinaryValue(int value)
getLenValue
public long getLenValue()
setLenValue
public void setLenValue(long value)
isSetStringValue
public boolean isSetStringValue()
isSetSmallIntValue
public boolean isSetSmallIntValue()
isSetIntegerBitmask
public boolean isSetIntegerBitmask()
isSetIntegerFlag
public boolean isSetIntegerFlag()
isSetBinaryValue
public boolean isSetBinaryValue()
isSetLenValue
public boolean isSetLenValue()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
equals
public boolean equals(TGetInfoValue other)
compareTo
public int compareTo(TGetInfoValue other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013 The Apache Software Foundation