@PublicEvolving public final class DateType extends DataType
year-month-day with values ranging from 0000-01-01 to 9999-12-31. Compared to the SQL standard, the range starts at year 0000.
A conversion from and to int describes the number of days since epoch.
| 限定符和类型 | 方法和说明 |
|---|---|
<R> R |
accept(DataTypeVisitor<R> visitor) |
String |
asSerializableString()
Returns a string that fully serializes this instance.
|
DataType |
copy(boolean isNullable)
Returns a deep copy of this type with possibly different nullability.
|
List<DataType> |
getChildren() |
asSummaryString, copy, equals, getTypeRoot, hashCode, is, is, isAnyOf, isAnyOf, isNullable, notNull, nullable, toString, withNullabilitypublic DataType copy(boolean isNullable)
DataTypepublic String asSerializableString()
DataTypeasSerializableString 在类中 DataTypepublic List<DataType> getChildren()
getChildren 在类中 DataTypepublic <R> R accept(DataTypeVisitor<R> visitor)
Copyright © 2025 The Apache Software Foundation. All rights reserved.