Enum LogicalTypeFamily
- java.lang.Object
-
- java.lang.Enum<LogicalTypeFamily>
-
- org.apache.flink.table.types.logical.LogicalTypeFamily
-
- All Implemented Interfaces:
Serializable,Comparable<LogicalTypeFamily>
@PublicEvolving public enum LogicalTypeFamily extends Enum<LogicalTypeFamily>
An enumeration of logical type families for clusteringLogicalTypeRoots 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 Summary
Enum Constants Enum Constant Description APPROXIMATE_NUMERICBINARY_STRINGCHARACTER_STRINGCOLLECTIONCONSTRUCTEDDATETIMEDESCRIPTOREXACT_NUMERICEXTENSIONINTEGER_NUMERICINTERVALNUMERICPREDEFINEDTIMETIMESTAMPUSER_DEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogicalTypeFamilyvalueOf(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.
-
-
-
Enum Constant Detail
-
PREDEFINED
public static final LogicalTypeFamily PREDEFINED
-
CONSTRUCTED
public static final LogicalTypeFamily CONSTRUCTED
-
USER_DEFINED
public static final LogicalTypeFamily USER_DEFINED
-
CHARACTER_STRING
public static final LogicalTypeFamily CHARACTER_STRING
-
BINARY_STRING
public static final LogicalTypeFamily BINARY_STRING
-
NUMERIC
public static final LogicalTypeFamily NUMERIC
-
INTEGER_NUMERIC
public static final LogicalTypeFamily INTEGER_NUMERIC
-
EXACT_NUMERIC
public static final LogicalTypeFamily EXACT_NUMERIC
-
APPROXIMATE_NUMERIC
public static final LogicalTypeFamily APPROXIMATE_NUMERIC
-
DATETIME
public static final LogicalTypeFamily DATETIME
-
TIME
public static final LogicalTypeFamily TIME
-
TIMESTAMP
public static final LogicalTypeFamily TIMESTAMP
-
INTERVAL
public static final LogicalTypeFamily INTERVAL
-
COLLECTION
public static final LogicalTypeFamily COLLECTION
-
DESCRIPTOR
public static final LogicalTypeFamily DESCRIPTOR
-
EXTENSION
public static final LogicalTypeFamily EXTENSION
-
-
Method Detail
-
values
public static LogicalTypeFamily[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LogicalTypeFamily c : LogicalTypeFamily.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogicalTypeFamily valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-