public class BinaryType extends NativeType implements PrimitiveType
Array[Byte]
values.
Please use the singleton DataTypes.BinaryType
.
Modifier and Type | Method and Description |
---|---|
BinaryType |
asNullable()
Returns the same data type but set all nullability fields are true
(
StructField.nullable , ArrayType.containsNull , and MapType.valueContainsNull ). |
int |
defaultSize()
The default size of a value of the BinaryType is 4096 bytes.
|
Object |
ordering() |
scala.reflect.api.TypeTags.TypeTag<byte[]> |
tag() |
all, classTag, unapply
equalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, simpleString, typeName, unapply
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPrimitive
public scala.reflect.api.TypeTags.TypeTag<byte[]> tag()
public Object ordering()
public int defaultSize()
defaultSize
in class DataType
public BinaryType asNullable()
DataType
StructField.nullable
, ArrayType.containsNull
, and MapType.valueContainsNull
).asNullable
in class DataType