Class CharType

Object
org.apache.spark.sql.types.DataType
org.apache.spark.sql.types.CharType
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable

public class CharType extends DataType implements scala.Product, scala.Serializable
See Also:
  • Constructor Details

    • CharType

      public CharType(int length)
  • Method Details

    • apply

      public abstract static R apply(T1 v1)
    • length

      public int length()
    • defaultSize

      public int defaultSize()
      Description copied from class: DataType
      The default size of a value of this data type, used internally for size estimation.
      Specified by:
      defaultSize in class DataType
      Returns:
      (undocumented)
    • typeName

      public String typeName()
      Description copied from class: DataType
      Name of the type used in JSON serialization.
      Overrides:
      typeName in class DataType
    • toString

      public String toString()
      Overrides:
      toString in class Object