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.23.0)",
date="2026-08-06")
public class LogicalType
extends org.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
LogicalType annotations to replace ConvertedType.
To maintain compatibility, implementations using LogicalType for a
SchemaElement must also set the corresponding ConvertedType (if any)
from the following table.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<LogicalType._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
ConstructorsConstructorDescriptionLogicalType(LogicalType other) LogicalType(LogicalType._Fields setField, Object value) -
Method Summary
Modifier and TypeMethodDescriptionstatic LogicalTypeprotected voidcheckType(LogicalType._Fields setField, Object value) intcompareTo(LogicalType other) static LogicalTypestatic LogicalTypeDECIMAL(DecimalType value) deepCopy()static LogicalTypeprotected LogicalType._FieldsenumForId(short id) booleanbooleanequals(LogicalType other) fieldForId(int fieldId) static LogicalTypeFLOAT16(Float16Type value) static LogicalTypeGEOGRAPHY(GeographyType value) static LogicalTypeGEOMETRY(GeometryType value) getBSON()getDATE()getENUM()protected org.apache.thrift.protocol.TFieldgetFieldDesc(LogicalType._Fields setField) getJSON()getLIST()getMAP()protected org.apache.thrift.protocol.TStructgetTIME()getUUID()inthashCode()static LogicalTypebooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisSetMAP()booleanbooleanbooleanbooleanbooleanbooleanstatic LogicalTypestatic LogicalTypestatic LogicalTypevoidvoidvoidsetDECIMAL(DecimalType value) voidvoidsetFLOAT16(Float16Type value) voidsetGEOGRAPHY(GeographyType value) voidsetGEOMETRY(GeometryType value) voidsetINTEGER(IntType value) voidvoidvoidvoidsetSTRING(StringType value) voidvoidsetTIMESTAMP(TimestampType value) voidsetUNKNOWN(NullType value) voidvoidsetVARIANT(VariantType value) protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) static LogicalTypeSTRING(StringType value) static LogicalTypestatic LogicalTypeTIMESTAMP(TimestampType value) protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) static LogicalTypestatic LogicalTypestatic LogicalTypeVARIANT(VariantType value) Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
LogicalType
public LogicalType() -
LogicalType
-
LogicalType
-
-
Method Details
-
deepCopy
-
STRING
-
MAP
-
LIST
-
ENUM
-
DECIMAL
-
DATE
-
TIME
-
TIMESTAMP
-
INTEGER
-
UNKNOWN
-
JSON
-
BSON
-
UUID
-
FLOAT16
-
VARIANT
-
GEOMETRY
-
GEOGRAPHY
-
checkType
- 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
- 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
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<LogicalType,LogicalType._Fields>
-
fieldForId
-
getSTRING
-
setSTRING
-
getMAP
-
setMAP
-
getLIST
-
setLIST
-
getENUM
-
setENUM
-
getDECIMAL
-
setDECIMAL
-
getDATE
-
setDATE
-
getTIME
-
setTIME
-
getTIMESTAMP
-
setTIMESTAMP
-
getINTEGER
-
setINTEGER
-
getUNKNOWN
-
setUNKNOWN
-
getJSON
-
setJSON
-
getBSON
-
setBSON
-
getUUID
-
setUUID
-
getFLOAT16
-
setFLOAT16
-
getVARIANT
-
setVARIANT
-
getGEOMETRY
-
setGEOMETRY
-
getGEOGRAPHY
-
setGEOGRAPHY
-
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() -
isSetFLOAT16
public boolean isSetFLOAT16() -
isSetVARIANT
public boolean isSetVARIANT() -
isSetGEOMETRY
public boolean isSetGEOMETRY() -
isSetGEOGRAPHY
public boolean isSetGEOGRAPHY() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-