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