public class NullType extends DataType
NULL values. Please use the singleton DataTypes.NullType.
| Modifier and Type | Method and Description |
|---|---|
NullType |
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 this data type.
|
equalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, simpleString, typeName, unapplypublic int defaultSize()
DataTypedefaultSize in class DataTypepublic NullType asNullable()
DataTypeStructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull).asNullable in class DataType