@Public public enum DataTypeFamily extends Enum<DataTypeFamily>
DataTypeRoot
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 |
NUMERIC |
PREDEFINED |
TIME |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static DataTypeFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataTypeFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTypeFamily PREDEFINED
public static final DataTypeFamily CONSTRUCTED
public static final DataTypeFamily CHARACTER_STRING
public static final DataTypeFamily BINARY_STRING
public static final DataTypeFamily NUMERIC
public static final DataTypeFamily INTEGER_NUMERIC
public static final DataTypeFamily EXACT_NUMERIC
public static final DataTypeFamily APPROXIMATE_NUMERIC
public static final DataTypeFamily DATETIME
public static final DataTypeFamily TIME
public static final DataTypeFamily TIMESTAMP
public static final DataTypeFamily COLLECTION
public static final DataTypeFamily EXTENSION
public static DataTypeFamily[] values()
for (DataTypeFamily c : DataTypeFamily.values()) System.out.println(c);
public static DataTypeFamily 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 © 2023–2024 The Apache Software Foundation. All rights reserved.