Package org.apache.parquet.format
Class LogicalType
- java.lang.Object
-
- org.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
-
- org.apache.parquet.format.LogicalType
-
- All Implemented Interfaces:
Serializable,Comparable<LogicalType>,org.apache.thrift.TBase<LogicalType,LogicalType._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-03-17") public class LogicalType extends org.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogicalType._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<LogicalType._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description LogicalType()LogicalType(LogicalType other)LogicalType(LogicalType._Fields setField, Object value)
-
Method Summary
-
-
-
Field Detail
-
metaDataMap
public static final Map<LogicalType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
LogicalType
public LogicalType()
-
LogicalType
public LogicalType(LogicalType._Fields setField, Object value)
-
LogicalType
public LogicalType(LogicalType other)
-
-
Method Detail
-
deepCopy
public LogicalType deepCopy()
-
STRING
public static LogicalType STRING(StringType value)
-
MAP
public static LogicalType MAP(MapType value)
-
LIST
public static LogicalType LIST(ListType value)
-
ENUM
public static LogicalType ENUM(EnumType value)
-
DECIMAL
public static LogicalType DECIMAL(DecimalType value)
-
DATE
public static LogicalType DATE(DateType value)
-
TIME
public static LogicalType TIME(TimeType value)
-
TIMESTAMP
public static LogicalType TIMESTAMP(TimestampType value)
-
INTEGER
public static LogicalType INTEGER(IntType value)
-
UNKNOWN
public static LogicalType UNKNOWN(NullType value)
-
JSON
public static LogicalType JSON(JsonType value)
-
BSON
public static LogicalType BSON(BsonType value)
-
UUID
public static LogicalType UUID(UUIDType value)
-
checkType
protected void checkType(LogicalType._Fields setField, Object value) throws ClassCastException
- Specified by:
checkTypein classorg.apache.thrift.TUnion<LogicalType,LogicalType._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:
standardSchemeReadValuein classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>- Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<LogicalType,LogicalType._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:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(LogicalType._Fields setField)
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDescin classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
-
enumForId
protected LogicalType._Fields enumForId(short id)
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
-
fieldForId
public LogicalType._Fields fieldForId(int fieldId)
-
getSTRING
public StringType getSTRING()
-
setSTRING
public void setSTRING(StringType value)
-
getMAP
public MapType getMAP()
-
setMAP
public void setMAP(MapType value)
-
getLIST
public ListType getLIST()
-
setLIST
public void setLIST(ListType value)
-
getENUM
public EnumType getENUM()
-
setENUM
public void setENUM(EnumType value)
-
getDECIMAL
public DecimalType getDECIMAL()
-
setDECIMAL
public void setDECIMAL(DecimalType value)
-
getDATE
public DateType getDATE()
-
setDATE
public void setDATE(DateType value)
-
getTIME
public TimeType getTIME()
-
setTIME
public void setTIME(TimeType value)
-
getTIMESTAMP
public TimestampType getTIMESTAMP()
-
setTIMESTAMP
public void setTIMESTAMP(TimestampType value)
-
getINTEGER
public IntType getINTEGER()
-
setINTEGER
public void setINTEGER(IntType value)
-
getUNKNOWN
public NullType getUNKNOWN()
-
setUNKNOWN
public void setUNKNOWN(NullType value)
-
getJSON
public JsonType getJSON()
-
setJSON
public void setJSON(JsonType value)
-
getBSON
public BsonType getBSON()
-
setBSON
public void setBSON(BsonType value)
-
getUUID
public UUIDType getUUID()
-
setUUID
public void setUUID(UUIDType value)
-
isSetSTRING
public boolean isSetSTRING()
-
isSetMAP
public boolean isSetMAP()
-
isSetLIST
public boolean isSetLIST()
-
isSetENUM
public boolean isSetENUM()
-
isSetDECIMAL
public boolean isSetDECIMAL()
-
isSetDATE
public boolean isSetDATE()
-
isSetTIME
public boolean isSetTIME()
-
isSetTIMESTAMP
public boolean isSetTIMESTAMP()
-
isSetINTEGER
public boolean isSetINTEGER()
-
isSetUNKNOWN
public boolean isSetUNKNOWN()
-
isSetJSON
public boolean isSetJSON()
-
isSetBSON
public boolean isSetBSON()
-
isSetUUID
public boolean isSetUUID()
-
equals
public boolean equals(LogicalType other)
-
compareTo
public int compareTo(LogicalType other)
-
-