public class CalendarIntervalType extends DataType
months
in this interval,
an integer value representing the number of days
in this interval,
a long value representing the number of microseconds
in this interval.
Please use the singleton DataTypes.CalendarIntervalType
to refer the type.
Constructor and Description |
---|
CalendarIntervalType() |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(Object that) |
static String |
catalogString() |
int |
defaultSize()
The default size of a value of this data type, used internally for size estimation.
|
abstract static boolean |
equals(Object that) |
static String |
json() |
static String |
prettyJson() |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
static String |
simpleString() |
static String |
sql() |
String |
typeName()
Name of the type used in JSON serialization.
|
catalogString, equalsIgnoreCaseAndNullability, equalsIgnoreNullability, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, simpleString, sql
public static String json()
public static String prettyJson()
public static String simpleString()
public static String catalogString()
public static String sql()
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public int defaultSize()
DataType
defaultSize
in class DataType