Package org.apache.spark.sql.types
Class BinaryType
Object
org.apache.spark.sql.types.DataType
org.apache.spark.sql.types.BinaryType
The data type representing
Array[Byte]
values.
Please use the singleton DataTypes.BinaryType
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract static boolean
static String
int
The default size of a value of the BinaryType is 100 bytes.abstract static boolean
static String
json()
static String
abstract static int
abstract static Object
productElement
(int n) static scala.collection.Iterator<Object>
static String
static String
static String
sql()
static String
typeName()
Methods inherited from class org.apache.spark.sql.types.DataType
catalogString, equalsIgnoreCaseAndNullability, equalsIgnoreNullability, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, simpleString, sql, typeName
-
Constructor Details
-
BinaryType
public BinaryType()
-
-
Method Details
-
typeName
-
json
-
prettyJson
-
simpleString
-
catalogString
-
sql
-
canEqual
-
equals
-
productElement
-
productArity
public abstract static int productArity() -
productIterator
-
productPrefix
-
defaultSize
public int defaultSize()The default size of a value of the BinaryType is 100 bytes.- Specified by:
defaultSize
in classDataType
- Returns:
- (undocumented)
-