Enum Class FunctionType
- All Implemented Interfaces:
Serializable,Comparable<FunctionType>,Constable
The position the function can appear in the language.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFunctions that can only appear in the "aggregate" position of aSTATS.Functions that can only appear in the "grouping" position of aSTATS.Functions that can appear anywhere.Functions that can only appear in the aggregate" position of aSTATSstarted with TS. -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionTypeReturns the enum constant of this class with the specified name.static FunctionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCALAR
Functions that can appear anywhere. For example,LENGTHin| STATS MAX(LENGTH(string))and| EVAL l = LENGTH(string). -
AGGREGATE
Functions that can only appear in the "aggregate" position of aSTATS. For example,MAXin| STATS MAX(LENGTH(string)). -
TIME_SERIES_AGGREGATE
Functions that can only appear in the aggregate" position of aSTATSstarted with TS. For example,MAX_OVER_TIMEin| STATS MAX(MAX_OVER_TIME(string)). -
GROUPING
Functions that can only appear in the "grouping" position of aSTATS. For example,CATEGORIZEin| STATS MAX(a) BY CATEGORIZE(message).
-
-
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
-