public class TimestampNTZType extends DataType

The timestamp without time zone type represents a local time in microsecond precision, which is independent of time zone. Its valid range is [0001-01-01T00:00:00.000000, 9999-12-31T23:59:59.999999]. To represent an absolute point in time, use TimestampType instead.

Please use the singleton DataTypes.TimestampNTZType to refer the type.

Since:
3.4.0
  • Constructor Details

    • TimestampNTZType

      public TimestampNTZType()

  • Method Details

    • json

      public static String json()

    • prettyJson

      public static String prettyJson()

    • simpleString

      public static String simpleString()

    • catalogString

      public static String catalogString()

    • sql

      public static String sql()

    • canEqual

      public abstract static boolean canEqual(Object that)

    • productArity

      public abstract static int productArity()

    • productElement

      public abstract static Object productElement(int n)

    • productIterator

      public static scala.collection.Iterator<Object> productIterator()

    • productPrefix

      public static String productPrefix()

    • productElementName

      public static String productElementName(int n)

    • productElementNames

      public static scala.collection.Iterator<String> productElementNames()

    • defaultSize

      public int defaultSize()

      The default size of a value of the TimestampNTZType is 8 bytes.

      Specified by:
      defaultSize in class DataType
      Returns:
      (undocumented)
    • typeName

      Description copied from class: DataType

      Name of the type used in JSON serialization.

      Overrides:
      typeName in class DataType
    • equals

      public boolean equals(Object obj)

      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()

      Overrides:
      hashCode in class Object