Package io.trino.hive.formats.avro.model
Interface AvroLogicalType
- All Known Implementing Classes:
AvroLogicalType.BytesDecimalLogicalType,AvroLogicalType.DateLogicalType,AvroLogicalType.FixedDecimalLogicalType,AvroLogicalType.StringUUIDLogicalType,AvroLogicalType.TimeMicrosLogicalType,AvroLogicalType.TimeMillisLogicalType,AvroLogicalType.TimestampMicrosLogicalType,AvroLogicalType.TimestampMillisLogicalType
public sealed interface AvroLogicalType
permits AvroLogicalType.DateLogicalType, AvroLogicalType.BytesDecimalLogicalType, AvroLogicalType.FixedDecimalLogicalType, AvroLogicalType.TimeMillisLogicalType, AvroLogicalType.TimeMicrosLogicalType, AvroLogicalType.TimestampMillisLogicalType, AvroLogicalType.TimestampMicrosLogicalType, AvroLogicalType.StringUUIDLogicalType
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic AvroLogicalTypefromAvroLogicalType(org.apache.avro.LogicalType logicalType, org.apache.avro.Schema schema)
-
Field Details
-
DATE
- See Also:
-
DECIMAL
- See Also:
-
TIME_MILLIS
- See Also:
-
TIME_MICROS
- See Also:
-
TIMESTAMP_MILLIS
- See Also:
-
TIMESTAMP_MICROS
- See Also:
-
LOCAL_TIMESTAMP_MILLIS
- See Also:
-
LOCAL_TIMESTAMP_MICROS
- See Also:
-
UUID
- See Also:
-
-
Method Details
-
fromAvroLogicalType
static AvroLogicalType fromAvroLogicalType(org.apache.avro.LogicalType logicalType, org.apache.avro.Schema schema)
-