Packages

object TimestampType extends TimestampType with Product with Serializable

The companion case object and its class is separated so the companion object also subclasses the TimestampType class. Otherwise, the companion object would be of type "TimestampType$" in byte code. Defined with a private constructor so the companion object is the only possible instantiation.

Annotations
@Stable()
Source
TimestampType.scala
Since

1.3.0

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

Value Members

  1. def catalogString: String

    String representation for the type saved in external catalogs.

    String representation for the type saved in external catalogs.

    Definition Classes
    DataType
  2. def defaultSize: Int

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

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

    Definition Classes
    TimestampTypeDataType
  3. def json: String

    The compact JSON representation of this data type.

    The compact JSON representation of this data type.

    Definition Classes
    DataType
  4. def prettyJson: String

    The pretty (i.e.

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

    Definition Classes
    DataType
  5. def simpleString: String

    Readable string representation for the type.

    Readable string representation for the type.

    Definition Classes
    DataType → AbstractDataType
  6. def sql: String
    Definition Classes
    DataType
  7. def typeName: String

    Name of the type used in JSON serialization.

    Name of the type used in JSON serialization.

    Definition Classes
    DataType