Enum Class FunctionInfo.FunctionType
java.lang.Object
java.lang.Enum<FunctionInfo.FunctionType>
se.kuseman.payloadbuilder.api.catalog.FunctionInfo.FunctionType
- All Implemented Interfaces:
Serializable,Comparable<FunctionInfo.FunctionType>,Constable
- Enclosing class:
- FunctionInfo
Function type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA scalar function used in aggregations returning a scalar value from groups of valuesAn operator function used in operators that supports transforming input stream to a scalar value.A scalar function used in expressions returning a scalar value.A scalar function that act as both scalar and aggregate depending on context.A table valued function used in function scans return a stream ofTupleVector -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this type is of aggregate typestatic FunctionInfo.FunctionTypeReturns the enum constant of this class with the specified name.static FunctionInfo.FunctionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCALAR
A scalar function used in expressions returning a scalar value. -
AGGREGATE
A scalar function used in aggregations returning a scalar value from groups of values -
SCALAR_AGGREGATE
A scalar function that act as both scalar and aggregate depending on context. -
TABLE
A table valued function used in function scans return a stream ofTupleVector -
OPERATOR
An operator function used in operators that supports transforming input stream to a scalar value. Ie. FOR clause
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isAggregate
public boolean isAggregate()Return true if this type is of aggregate type
-