org.apache.hive.service.cli.thrift
Class TTypeEntry
java.lang.Object
org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
org.apache.hive.service.cli.thrift.TTypeEntry
- All Implemented Interfaces:
- Serializable, Comparable<TTypeEntry>, org.apache.thrift.TBase<TTypeEntry,TTypeEntry._Fields>
public class TTypeEntry
- extends org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
- See Also:
- Serialized Form
Nested Class Summary |
static class |
TTypeEntry._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, setFieldValue, setFieldValue, toString, write |
metaDataMap
public static final Map<TTypeEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
TTypeEntry
public TTypeEntry()
TTypeEntry
public TTypeEntry(TTypeEntry._Fields setField,
Object value)
TTypeEntry
public TTypeEntry(TTypeEntry other)
deepCopy
public TTypeEntry deepCopy()
primitiveEntry
public static TTypeEntry primitiveEntry(TPrimitiveTypeEntry value)
arrayEntry
public static TTypeEntry arrayEntry(TArrayTypeEntry value)
mapEntry
public static TTypeEntry mapEntry(TMapTypeEntry value)
structEntry
public static TTypeEntry structEntry(TStructTypeEntry value)
unionEntry
public static TTypeEntry unionEntry(TUnionTypeEntry value)
userDefinedTypeEntry
public static TTypeEntry userDefinedTypeEntry(TUserDefinedTypeEntry value)
checkType
protected void checkType(TTypeEntry._Fields setField,
Object value)
throws ClassCastException
- Specified by:
checkType
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
- Throws:
ClassCastException
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
- Specified by:
standardSchemeReadValue
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
- Throws:
org.apache.thrift.TException
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
standardSchemeWriteValue
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
- Throws:
org.apache.thrift.TException
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID)
throws org.apache.thrift.TException
- Specified by:
tupleSchemeReadValue
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
- Throws:
org.apache.thrift.TException
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
- Throws:
org.apache.thrift.TException
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(TTypeEntry._Fields setField)
- Specified by:
getFieldDesc
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDesc
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
enumForId
protected TTypeEntry._Fields enumForId(short id)
- Specified by:
enumForId
in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
fieldForId
public TTypeEntry._Fields fieldForId(int fieldId)
getPrimitiveEntry
public TPrimitiveTypeEntry getPrimitiveEntry()
setPrimitiveEntry
public void setPrimitiveEntry(TPrimitiveTypeEntry value)
getArrayEntry
public TArrayTypeEntry getArrayEntry()
setArrayEntry
public void setArrayEntry(TArrayTypeEntry value)
getMapEntry
public TMapTypeEntry getMapEntry()
setMapEntry
public void setMapEntry(TMapTypeEntry value)
getStructEntry
public TStructTypeEntry getStructEntry()
setStructEntry
public void setStructEntry(TStructTypeEntry value)
getUnionEntry
public TUnionTypeEntry getUnionEntry()
setUnionEntry
public void setUnionEntry(TUnionTypeEntry value)
getUserDefinedTypeEntry
public TUserDefinedTypeEntry getUserDefinedTypeEntry()
setUserDefinedTypeEntry
public void setUserDefinedTypeEntry(TUserDefinedTypeEntry value)
isSetPrimitiveEntry
public boolean isSetPrimitiveEntry()
isSetArrayEntry
public boolean isSetArrayEntry()
isSetMapEntry
public boolean isSetMapEntry()
isSetStructEntry
public boolean isSetStructEntry()
isSetUnionEntry
public boolean isSetUnionEntry()
isSetUserDefinedTypeEntry
public boolean isSetUserDefinedTypeEntry()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
equals
public boolean equals(TTypeEntry other)
compareTo
public int compareTo(TTypeEntry other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2012 The Apache Software Foundation