public class DateType extends NativeType
java.sql.Date values.
Please use the singleton DataTypes.DateType.
| Modifier and Type | Method and Description |
|---|---|
DateType |
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 DateType is 4 bytes.
|
scala.math.Ordering<Object> |
ordering() |
scala.reflect.api.TypeTags.TypeTag<Object> |
tag() |
all, classTag, unapplyequalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, simpleString, typeName, unapplypublic scala.reflect.api.TypeTags.TypeTag<Object> tag()
tag in class NativeTypepublic scala.math.Ordering<Object> ordering()
ordering in class NativeTypepublic int defaultSize()
defaultSize in class DataTypepublic DateType asNullable()
DataTypeStructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull).asNullable in class DataType