Packages

class StringType extends AtomicType with Serializable

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

Annotations
@Stable()
Source
StringType.scala
Since

1.3.0

Linear Supertypes
Serializable, AtomicType, DataType, AbstractDataType, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringType
  2. Serializable
  3. AtomicType
  4. DataType
  5. AbstractDataType
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val collationId: Int
  8. 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
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean
    Definition Classes
    StringType → AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    StringType → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isUTF8BinaryCollation: Boolean
  15. def isUTF8BinaryLcaseCollation: Boolean
  16. def json: String

    The compact JSON representation of this data type.

    The compact JSON representation of this data type.

    Definition Classes
    DataType
  17. def jsonValue: JValue
    Definition Classes
    StringTypeDataType
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def prettyJson: String

    The pretty (i.e.

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

    Definition Classes
    DataType
  22. def simpleString: String

    Readable string representation for the type.

    Readable string representation for the type.

    Definition Classes
    DataType → AbstractDataType
  23. def sql: String
    Definition Classes
    DataType
  24. def supportsBinaryEquality: Boolean

    Support for Binary Equality implies that strings are considered equal only if they are byte for byte equal.

    Support for Binary Equality implies that strings are considered equal only if they are byte for byte equal. E.g. all accent or case-insensitive collations are considered non-binary. If this field is true, byte level operations can be used against this datatype (e.g. for equality and hashing).

  25. def supportsBinaryOrdering: Boolean

    Support for Binary Ordering implies that strings are considered equal only if they are byte for byte equal.

    Support for Binary Ordering implies that strings are considered equal only if they are byte for byte equal. E.g. all accent or case-insensitive collations are considered non-binary. Also their ordering does not require calls to ICU library, as it follows spark internal implementation. If this field is true, byte level operations can be used against this datatype (e.g. for equality, hashing and ordering).

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def typeName: String

    Type name that is shown to the customer.

    Type name that is shown to the customer. If this is an UTF8_BINARY collation output is string due to backwards compatibility.

    Definition Classes
    StringTypeDataType
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. 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 AtomicType

Inherited from DataType

Inherited from AbstractDataType

Inherited from AnyRef

Inherited from Any

Ungrouped