Class BinaryType

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

public class BinaryType extends DataType
The data type representing Array[Byte] values. Please use the singleton DataTypes.BinaryType.
  • Constructor Details

    • BinaryType

      public BinaryType()
  • Method Details

    • typeName

      public static String typeName()
    • 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()
      The default size of a value of the BinaryType is 100 bytes.
      Specified by:
      defaultSize in class DataType
      Returns:
      (undocumented)