public class ByteType extends IntegralType
Byte values. Please use the singleton DataTypes.ByteType.
| Modifier and Type | Method and Description |
|---|---|
ByteType |
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 ByteType is 1 byte.
|
scala.math.Integral<Object> |
integral() |
scala.math.Numeric<Object> |
numeric() |
scala.math.Ordering<Object> |
ordering() |
String |
simpleString() |
scala.reflect.api.TypeTags.TypeTag<Object> |
tag() |
unapplyall, classTag, unapplyequalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, typeName, unapplyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPrimitivepublic scala.reflect.api.TypeTags.TypeTag<Object> tag()
tag in class NativeTypepublic scala.math.Numeric<Object> numeric()
numeric in class NumericTypepublic scala.math.Integral<Object> integral()
integral in class IntegralTypepublic scala.math.Ordering<Object> ordering()
ordering in class NativeTypepublic int defaultSize()
defaultSize in class DataTypepublic String simpleString()
simpleString in class DataTypepublic ByteType asNullable()
DataTypeStructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull).asNullable in class DataType