Class NullType

Object
org.apache.spark.sql.types.DataType
org.apache.spark.sql.types.NullType

public class NullType extends DataType
The data type representing NULL values. Please use the singleton DataTypes.NullType.

Since:
1.3.0
  • Constructor Details

    • NullType

      public NullType()
  • Method Details

    • json

      public static String json()
    • prettyJson

      public static String prettyJson()
    • simpleString

      public static String simpleString()
    • catalogString

      public static String catalogString()
    • sql

      public static String sql()
    • canEqual

      public abstract static boolean canEqual(Object that)
    • equals

      public abstract static boolean equals(Object that)
    • productElement

      public abstract static Object productElement(int n)
    • productArity

      public abstract static int productArity()
    • productIterator

      public static scala.collection.Iterator<Object> productIterator()
    • productPrefix

      public static String productPrefix()
    • 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