Packages

case object StringType extends StringType with Product with Serializable

Use StringType for expressions supporting only binary collation.

Annotations
@Stable()
Source
StringType.scala
Since

1.3.0

Linear Supertypes
Product, Equals, StringType, Serializable, AtomicType, DataType, AbstractDataType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringType
  2. Product
  3. Equals
  4. StringType
  5. Serializable
  6. AtomicType
  7. DataType
  8. AbstractDataType
  9. AnyRef
  10. 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. def apply(collation: String): StringType
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def catalogString: String

    String representation for the type saved in external catalogs.

    String representation for the type saved in external catalogs.

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

    The compact JSON representation of this data type.

    The compact JSON representation of this data type.

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

    The pretty (i.e.

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

    Definition Classes
    DataType
  23. def productElementName(n: Int): String
    Definition Classes
    Product
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def simpleString: String

    Readable string representation for the type.

    Readable string representation for the type.

    Definition Classes
    DataType → AbstractDataType
  26. def sql: String
    Definition Classes
    DataType
  27. 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).

    Definition Classes
    StringType
  28. 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).

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

Inherited from Equals

Inherited from StringType

Inherited from Serializable

Inherited from AtomicType

Inherited from DataType

Inherited from AbstractDataType

Inherited from AnyRef

Inherited from Any

Ungrouped