Package org.apache.flink.table.functions
Enum FunctionKind
- java.lang.Object
-
- java.lang.Enum<FunctionKind>
-
- org.apache.flink.table.functions.FunctionKind
-
- All Implemented Interfaces:
Serializable
,Comparable<FunctionKind>
@PublicEvolving public enum FunctionKind extends Enum<FunctionKind>
Categorizes the semantics of aFunctionDefinition
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE
ASYNC_SCALAR
ASYNC_TABLE
OTHER
SCALAR
TABLE
TABLE_AGGREGATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static FunctionKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALAR
public static final FunctionKind SCALAR
-
ASYNC_SCALAR
public static final FunctionKind ASYNC_SCALAR
-
TABLE
public static final FunctionKind TABLE
-
ASYNC_TABLE
public static final FunctionKind ASYNC_TABLE
-
AGGREGATE
public static final FunctionKind AGGREGATE
-
TABLE_AGGREGATE
public static final FunctionKind TABLE_AGGREGATE
-
OTHER
public static final FunctionKind OTHER
-
-
Method Detail
-
values
public static FunctionKind[] 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 (FunctionKind c : FunctionKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionKind 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
-
-