@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class TTypeEntry extends org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>
| Modifier and Type | Class and Description |
|---|---|
static class |
TTypeEntry._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<TTypeEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TTypeEntry() |
TTypeEntry(TTypeEntry._Fields setField,
Object value) |
TTypeEntry(TTypeEntry other) |
public static final Map<TTypeEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TTypeEntry()
public TTypeEntry(TTypeEntry._Fields setField, Object value)
public TTypeEntry(TTypeEntry other)
public TTypeEntry deepCopy()
public static TTypeEntry primitiveEntry(TPrimitiveTypeEntry value)
public static TTypeEntry arrayEntry(TArrayTypeEntry value)
public static TTypeEntry mapEntry(TMapTypeEntry value)
public static TTypeEntry structEntry(TStructTypeEntry value)
public static TTypeEntry unionEntry(TUnionTypeEntry value)
public static TTypeEntry userDefinedTypeEntry(TUserDefinedTypeEntry value)
protected void checkType(TTypeEntry._Fields setField, Object value) throws ClassCastException
checkType in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>ClassCastExceptionprotected 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<TTypeEntry,TTypeEntry._Fields>org.apache.thrift.TExceptionprotected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
standardSchemeWriteValue in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>org.apache.thrift.TExceptionprotected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>org.apache.thrift.TExceptionprotected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
tupleSchemeWriteValue in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>org.apache.thrift.TExceptionprotected org.apache.thrift.protocol.TField getFieldDesc(TTypeEntry._Fields setField)
getFieldDesc in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>protected TTypeEntry._Fields enumForId(short id)
enumForId in class org.apache.thrift.TUnion<TTypeEntry,TTypeEntry._Fields>public TTypeEntry._Fields fieldForId(int fieldId)
public TPrimitiveTypeEntry getPrimitiveEntry()
public void setPrimitiveEntry(TPrimitiveTypeEntry value)
public TArrayTypeEntry getArrayEntry()
public void setArrayEntry(TArrayTypeEntry value)
public TMapTypeEntry getMapEntry()
public void setMapEntry(TMapTypeEntry value)
public TStructTypeEntry getStructEntry()
public void setStructEntry(TStructTypeEntry value)
public TUnionTypeEntry getUnionEntry()
public void setUnionEntry(TUnionTypeEntry value)
public TUserDefinedTypeEntry getUserDefinedTypeEntry()
public void setUserDefinedTypeEntry(TUserDefinedTypeEntry value)
public boolean isSetPrimitiveEntry()
public boolean isSetArrayEntry()
public boolean isSetMapEntry()
public boolean isSetStructEntry()
public boolean isSetUnionEntry()
public boolean isSetUserDefinedTypeEntry()
public boolean equals(TTypeEntry other)
public int compareTo(TTypeEntry other)
Copyright © 2024 The Apache Software Foundation. All rights reserved.