Package org.apache.pinot.common.function
Enum TransformFunctionType
- java.lang.Object
-
- java.lang.Enum<TransformFunctionType>
-
- org.apache.pinot.common.function.TransformFunctionType
-
- All Implemented Interfaces:
Serializable,Comparable<TransformFunctionType>
public enum TransformFunctionType extends Enum<TransformFunctionType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAliases()StringgetName()static TransformFunctionTypegetTransformFunctionType(String functionName)Returns the corresponding transform function type for the given function name.static booleanisTransformFunction(String functionName)static TransformFunctionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TransformFunctionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final TransformFunctionType ADD
-
SUB
public static final TransformFunctionType SUB
-
MULT
public static final TransformFunctionType MULT
-
DIV
public static final TransformFunctionType DIV
-
MOD
public static final TransformFunctionType MOD
-
ABS
public static final TransformFunctionType ABS
-
CEIL
public static final TransformFunctionType CEIL
-
EXP
public static final TransformFunctionType EXP
-
FLOOR
public static final TransformFunctionType FLOOR
-
LOG
public static final TransformFunctionType LOG
-
LOG2
public static final TransformFunctionType LOG2
-
LOG10
public static final TransformFunctionType LOG10
-
SIGN
public static final TransformFunctionType SIGN
-
ROUND_DECIMAL
public static final TransformFunctionType ROUND_DECIMAL
-
TRUNCATE
public static final TransformFunctionType TRUNCATE
-
POWER
public static final TransformFunctionType POWER
-
SQRT
public static final TransformFunctionType SQRT
-
LEAST
public static final TransformFunctionType LEAST
-
GREATEST
public static final TransformFunctionType GREATEST
-
EQUALS
public static final TransformFunctionType EQUALS
-
NOT_EQUALS
public static final TransformFunctionType NOT_EQUALS
-
GREATER_THAN
public static final TransformFunctionType GREATER_THAN
-
GREATER_THAN_OR_EQUAL
public static final TransformFunctionType GREATER_THAN_OR_EQUAL
-
LESS_THAN
public static final TransformFunctionType LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final TransformFunctionType LESS_THAN_OR_EQUAL
-
IN
public static final TransformFunctionType IN
-
IS_NULL
public static final TransformFunctionType IS_NULL
-
IS_NOT_NULL
public static final TransformFunctionType IS_NOT_NULL
-
AND
public static final TransformFunctionType AND
-
OR
public static final TransformFunctionType OR
-
CAST
public static final TransformFunctionType CAST
-
CASE
public static final TransformFunctionType CASE
-
JSONEXTRACTSCALAR
public static final TransformFunctionType JSONEXTRACTSCALAR
-
JSONEXTRACTKEY
public static final TransformFunctionType JSONEXTRACTKEY
-
TIMECONVERT
public static final TransformFunctionType TIMECONVERT
-
DATETIMECONVERT
public static final TransformFunctionType DATETIMECONVERT
-
DATETRUNC
public static final TransformFunctionType DATETRUNC
-
YEAR
public static final TransformFunctionType YEAR
-
YEAR_OF_WEEK
public static final TransformFunctionType YEAR_OF_WEEK
-
QUARTER
public static final TransformFunctionType QUARTER
-
MONTH_OF_YEAR
public static final TransformFunctionType MONTH_OF_YEAR
-
WEEK_OF_YEAR
public static final TransformFunctionType WEEK_OF_YEAR
-
DAY_OF_YEAR
public static final TransformFunctionType DAY_OF_YEAR
-
DAY_OF_MONTH
public static final TransformFunctionType DAY_OF_MONTH
-
DAY_OF_WEEK
public static final TransformFunctionType DAY_OF_WEEK
-
HOUR
public static final TransformFunctionType HOUR
-
MINUTE
public static final TransformFunctionType MINUTE
-
SECOND
public static final TransformFunctionType SECOND
-
MILLISECOND
public static final TransformFunctionType MILLISECOND
-
ARRAYLENGTH
public static final TransformFunctionType ARRAYLENGTH
-
ARRAYAVERAGE
public static final TransformFunctionType ARRAYAVERAGE
-
ARRAYMIN
public static final TransformFunctionType ARRAYMIN
-
ARRAYMAX
public static final TransformFunctionType ARRAYMAX
-
ARRAYSUM
public static final TransformFunctionType ARRAYSUM
-
VALUEIN
public static final TransformFunctionType VALUEIN
-
MAPVALUE
public static final TransformFunctionType MAPVALUE
-
INIDSET
public static final TransformFunctionType INIDSET
-
LOOKUP
public static final TransformFunctionType LOOKUP
-
GROOVY
public static final TransformFunctionType GROOVY
-
REGEXP_EXTRACT
public static final TransformFunctionType REGEXP_EXTRACT
-
SCALAR
public static final TransformFunctionType SCALAR
-
ST_GEOG_FROM_TEXT
public static final TransformFunctionType ST_GEOG_FROM_TEXT
-
ST_GEOM_FROM_TEXT
public static final TransformFunctionType ST_GEOM_FROM_TEXT
-
ST_GEOG_FROM_WKB
public static final TransformFunctionType ST_GEOG_FROM_WKB
-
ST_GEOM_FROM_WKB
public static final TransformFunctionType ST_GEOM_FROM_WKB
-
ST_POINT
public static final TransformFunctionType ST_POINT
-
ST_POLYGON
public static final TransformFunctionType ST_POLYGON
-
ST_AREA
public static final TransformFunctionType ST_AREA
-
ST_DISTANCE
public static final TransformFunctionType ST_DISTANCE
-
ST_GEOMETRY_TYPE
public static final TransformFunctionType ST_GEOMETRY_TYPE
-
ST_AS_BINARY
public static final TransformFunctionType ST_AS_BINARY
-
ST_AS_TEXT
public static final TransformFunctionType ST_AS_TEXT
-
ST_CONTAINS
public static final TransformFunctionType ST_CONTAINS
-
ST_EQUALS
public static final TransformFunctionType ST_EQUALS
-
ST_WITHIN
public static final TransformFunctionType ST_WITHIN
-
GEOTOH3
public static final TransformFunctionType GEOTOH3
-
SIN
public static final TransformFunctionType SIN
-
COS
public static final TransformFunctionType COS
-
TAN
public static final TransformFunctionType TAN
-
COT
public static final TransformFunctionType COT
-
ASIN
public static final TransformFunctionType ASIN
-
ACOS
public static final TransformFunctionType ACOS
-
ATAN
public static final TransformFunctionType ATAN
-
ATAN2
public static final TransformFunctionType ATAN2
-
SINH
public static final TransformFunctionType SINH
-
COSH
public static final TransformFunctionType COSH
-
TANH
public static final TransformFunctionType TANH
-
DEGREES
public static final TransformFunctionType DEGREES
-
RADIANS
public static final TransformFunctionType RADIANS
-
-
Method Detail
-
values
public static TransformFunctionType[] 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 (TransformFunctionType c : TransformFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransformFunctionType 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
-
isTransformFunction
public static boolean isTransformFunction(String functionName)
-
getTransformFunctionType
public static TransformFunctionType getTransformFunctionType(String functionName)
Returns the corresponding transform function type for the given function name.
-
getName
public String getName()
-
-