Class ObjectType

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

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

    • ObjectType

      public ObjectType(Class<?> cls)
  • Method Details

    • cls

      public Class<?> cls()
    • 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)
    • asNullable

      public DataType asNullable()
    • simpleString

      public String simpleString()
      Description copied from class: DataType
      Readable string representation for the type.
      Overrides:
      simpleString in class DataType
    • acceptsType

      public boolean acceptsType(DataType other)