@PublicEvolving public enum LogicalTypeFamily extends Enum<LogicalTypeFamily>
LogicalTypeRoot
s into categories.
The enumeration is very close to the SQL standard in terms of naming and completeness.
However, it reflects just a subset of the evolving standard and contains some extensions
(indicated by EXTENSION
).
Enum Constant and Description |
---|
APPROXIMATE_NUMERIC |
BINARY_STRING |
CHARACTER_STRING |
COLLECTION |
CONSTRUCTED |
DATETIME |
EXACT_NUMERIC |
EXTENSION |
INTEGER_NUMERIC |
INTERVAL |
NUMERIC |
PREDEFINED |
TIME |
TIMESTAMP |
USER_DEFINED |
Modifier and Type | Method and Description |
---|---|
static LogicalTypeFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicalTypeFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogicalTypeFamily PREDEFINED
public static final LogicalTypeFamily CONSTRUCTED
public static final LogicalTypeFamily USER_DEFINED
public static final LogicalTypeFamily CHARACTER_STRING
public static final LogicalTypeFamily BINARY_STRING
public static final LogicalTypeFamily NUMERIC
public static final LogicalTypeFamily INTEGER_NUMERIC
public static final LogicalTypeFamily EXACT_NUMERIC
public static final LogicalTypeFamily APPROXIMATE_NUMERIC
public static final LogicalTypeFamily DATETIME
public static final LogicalTypeFamily TIME
public static final LogicalTypeFamily TIMESTAMP
public static final LogicalTypeFamily INTERVAL
public static final LogicalTypeFamily COLLECTION
public static final LogicalTypeFamily EXTENSION
public static LogicalTypeFamily[] values()
for (LogicalTypeFamily c : LogicalTypeFamily.values()) System.out.println(c);
public static LogicalTypeFamily valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.