Packages

case class TimestampLTZNanosType(precision: Int) extends AnyTimestampNanoType with Product with Serializable

Timestamp with local time zone with fractional-second precision in the nanosecond-capable range (7 to 9 decimal digits). Represents a time instant analogous to TimestampType, but with sub-microsecond precision: valid range is [0001-01-01T00:00:00.000000000Z, 9999-12-31T23:59:59.999999999Z] in the proleptic Gregorian calendar at UTC+00:00. No time zone is stored; the session time zone is used when converting values to and from text.

precision

Number of digits of fractional seconds for this SQL type. The valid values are 7, 8, and 9 where 9 means nanosecond precision.

Annotations
@Unstable()
Source
TimestampLTZNanosType.scala
Since

4.3.0

Linear Supertypes
Serializable, Product, Equals, AnyTimestampNanoType, DatetimeType, AtomicType, DataType, AbstractDataType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimestampLTZNanosType
  2. Serializable
  3. Product
  4. Equals
  5. AnyTimestampNanoType
  6. DatetimeType
  7. AtomicType
  8. DataType
  9. AbstractDataType
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TimestampLTZNanosType(precision: Int)

    precision

    Number of digits of fractional seconds for this SQL type. The valid values are 7, 8, and 9 where 9 means nanosecond precision.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def catalogString: String

    String representation for the type saved in external catalogs.

    String representation for the type saved in external catalogs.

    Definition Classes
    DataType
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def defaultSize: Int

    Default size used by Spark for row-size estimation.

    Default size used by Spark for row-size estimation. Values are represented logically as epoch microseconds (Long, 8 bytes) plus nanoseconds within that micro (Short, 2 bytes).

    In org.apache.spark.sql.catalyst.expressions.UnsafeRow, the physical payload is 16 bytes in the variable-length region (two 8-byte words); see org.apache.spark.sql.catalyst.expressions.TimestampNanosRowValues.

    Definition Classes
    TimestampLTZNanosType → DataType
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def json: String

    The compact JSON representation of this data type.

    The compact JSON representation of this data type.

    Definition Classes
    DataType
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. val precision: Int
  16. def prettyJson: String

    The pretty (i.e.

    The pretty (i.e. indented) JSON representation of this data type.

    Definition Classes
    DataType
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. def simpleString: String

    Readable string representation for the type.

    Readable string representation for the type.

    Definition Classes
    DataType → AbstractDataType
  19. def sql: String
    Definition Classes
    DataType
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def typeName: String

    Name of the type used in JSON serialization.

    Name of the type used in JSON serialization.

    Definition Classes
    TimestampLTZNanosType → DataType
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyTimestampNanoType

Inherited from DatetimeType

Inherited from AtomicType

Inherited from DataType

Inherited from AbstractDataType

Inherited from AnyRef

Inherited from Any

Ungrouped