Interface LogicalType
- All Known Implementing Classes:
LogicalType.BsonType, LogicalType.DateType, LogicalType.DecimalType, LogicalType.EnumType, LogicalType.IntervalType, LogicalType.IntType, LogicalType.JsonType, LogicalType.ListType, LogicalType.MapType, LogicalType.StringType, LogicalType.TimestampType, LogicalType.TimeType, LogicalType.UuidType
public sealed interface LogicalType
permits LogicalType.StringType, LogicalType.EnumType, LogicalType.UuidType, LogicalType.IntType, LogicalType.DecimalType, LogicalType.DateType, LogicalType.TimeType, LogicalType.TimestampType, LogicalType.IntervalType, LogicalType.JsonType, LogicalType.BsonType, LogicalType.ListType, LogicalType.MapType
Logical types that provide semantic meaning to physical types.
Sealed interface allows for parameterized types (e.g., DECIMAL with scale/precision).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordBSON document stored as a byte array.static final recordCalendar date (days since Unix epoch).static final recordDecimal with fixed scale and precision.static final recordEnum stored as a UTF-8 string.static final recordInterval stored as a 12-byte fixed-length byte array (months, days, millis).static final recordInteger type with a specific bit width and signedness.static final recordJSON document stored as a UTF-8 string.static final recordList (repeated element) logical type.static final recordMap (key-value pairs) logical type.static final recordUTF-8 encoded string.static final recordTimestamp with configurable precision and UTC adjustment.static final recordTime of day with configurable precision and UTC adjustment.static enumResolution of time and timestamp logical types.static final recordUUID stored as a 16-byte fixed-length byte array.