Class Type.DateTimeType

java.lang.Object
org.apache.gravitino.rel.types.Type.PrimitiveType
org.apache.gravitino.rel.types.Type.DateTimeType
All Implemented Interfaces:
Type
Direct Known Subclasses:
Types.DateType, Types.TimestampType, Types.TimeType
Enclosing interface:
Type

public abstract static class Type.DateTimeType extends Type.PrimitiveType
The base type of all date/time types.
  • Field Details

    • DATE_TIME_PRECISION_NOT_SET

      protected static final int DATE_TIME_PRECISION_NOT_SET
      Indicates that precision for the date/time type was not explicitly set by the user. The value should be converted to the catalog's default precision.
      See Also:
    • MIN_ALLOWED_PRECISION

      protected static final int MIN_ALLOWED_PRECISION
      Represents the minimum precision range for timestamp, time and other date/time types. The minimum precision is 0, which means second-level precision.
      See Also:
    • MAX_ALLOWED_PRECISION

      protected static final int MAX_ALLOWED_PRECISION
      Represents the maximum precision allowed for timestamp, time and other date/time types. The maximum precision is 12, which means picosecond-level precision.
      See Also:
  • Constructor Details

    • DateTimeType

      public DateTimeType()