Packages

class StringType extends AtomicType

The data type representing String values. Please use the singleton DataTypes.StringType.

Annotations
@Stable()
Source
StringType.scala
Since

1.3.0

Linear Supertypes
AtomicType, DataType, AbstractDataType, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringType
  2. AtomicType
  3. DataType
  4. AbstractDataType
  5. AnyRef
  6. 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 StringType is 20 bytes.

    The default size of a value of the StringType is 20 bytes.

    Definition Classes
    StringTypeDataType
  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