Class TimeWithTimeZoneType

java.lang.Object
io.trino.spi.type.AbstractType
io.trino.spi.type.TimeWithTimeZoneType
All Implemented Interfaces:
FixedWidthType, Type

public abstract sealed class TimeWithTimeZoneType extends AbstractType implements FixedWidthType
  • Field Details

  • Constructor Details

    • TimeWithTimeZoneType

      protected TimeWithTimeZoneType(int precision, Class<?> javaType, Class<? extends ValueBlock> valueBlockType)
  • Method Details

    • createTimeWithTimeZoneType

      public static TimeWithTimeZoneType createTimeWithTimeZoneType(int precision)
    • getPrecision

      public int getPrecision()
    • isShort

      public final boolean isShort()
    • isComparable

      public final boolean isComparable()
      Description copied from interface: Type
      True if the type supports equalTo and hash.
      Specified by:
      isComparable in interface Type
      Overrides:
      isComparable in class AbstractType
    • isOrderable

      public final boolean isOrderable()
      Description copied from interface: Type
      True if the type supports compareTo.
      Specified by:
      isOrderable in interface Type
      Overrides:
      isOrderable in class AbstractType