org.apache.spark.sql.types
Class BinaryType

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

public class BinaryType
extends DataType

:: DeveloperApi :: The data type representing Array[Byte] values. Please use the singleton DataTypes.BinaryType.


Method Summary
 scala.reflect.ClassTag<Object> classTag()
           
 int defaultSize()
          The default size of a value of the BinaryType is 4096 bytes.
 Object ordering()
           
 scala.reflect.api.TypeTags.TypeTag<byte[]> tag()
           
 
Methods inherited from class org.apache.spark.sql.types.DataType
fromCaseClassString, fromJson, json, prettyJson, simpleString, typeName
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tag

public scala.reflect.api.TypeTags.TypeTag<byte[]> tag()

ordering

public Object ordering()

defaultSize

public int defaultSize()
The default size of a value of the BinaryType is 4096 bytes.

Specified by:
defaultSize in class DataType
Returns:
(undocumented)

classTag

public scala.reflect.ClassTag<Object> classTag()