Package org.apache.flink.table.functions
Class BuiltInFunctionDefinitions
- java.lang.Object
-
- org.apache.flink.table.functions.BuiltInFunctionDefinitions
-
@PublicEvolving public final class BuiltInFunctionDefinitions extends Object
Dictionary of function definitions for all built-in functions.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BuiltInFunctionDefinitions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<BuiltInFunctionDefinition>
getDefinitions()
-
-
-
Field Detail
-
TYPE_OF
public static final BuiltInFunctionDefinition TYPE_OF
-
IF_NULL
public static final BuiltInFunctionDefinition IF_NULL
-
MAP_KEYS
public static final BuiltInFunctionDefinition MAP_KEYS
-
MAP_VALUES
public static final BuiltInFunctionDefinition MAP_VALUES
-
MAP_UNION
public static final BuiltInFunctionDefinition MAP_UNION
-
MAP_ENTRIES
public static final BuiltInFunctionDefinition MAP_ENTRIES
-
MAP_FROM_ARRAYS
public static final BuiltInFunctionDefinition MAP_FROM_ARRAYS
-
SOURCE_WATERMARK
public static final BuiltInFunctionDefinition SOURCE_WATERMARK
-
COALESCE
public static final BuiltInFunctionDefinition COALESCE
-
ARRAY_APPEND
public static final BuiltInFunctionDefinition ARRAY_APPEND
-
ARRAY_CONTAINS
public static final BuiltInFunctionDefinition ARRAY_CONTAINS
-
ARRAY_SORT
public static final BuiltInFunctionDefinition ARRAY_SORT
-
ARRAY_DISTINCT
public static final BuiltInFunctionDefinition ARRAY_DISTINCT
-
ARRAY_POSITION
public static final BuiltInFunctionDefinition ARRAY_POSITION
-
ARRAY_PREPEND
public static final BuiltInFunctionDefinition ARRAY_PREPEND
-
ARRAY_REMOVE
public static final BuiltInFunctionDefinition ARRAY_REMOVE
-
ARRAY_REVERSE
public static final BuiltInFunctionDefinition ARRAY_REVERSE
-
ARRAY_SLICE
public static final BuiltInFunctionDefinition ARRAY_SLICE
-
ARRAY_UNION
public static final BuiltInFunctionDefinition ARRAY_UNION
-
ARRAY_CONCAT
public static final BuiltInFunctionDefinition ARRAY_CONCAT
-
ARRAY_MAX
public static final BuiltInFunctionDefinition ARRAY_MAX
-
ARRAY_JOIN
public static final BuiltInFunctionDefinition ARRAY_JOIN
-
ARRAY_MIN
public static final BuiltInFunctionDefinition ARRAY_MIN
-
SPLIT
public static final BuiltInFunctionDefinition SPLIT
-
URL_DECODE
public static final BuiltInFunctionDefinition URL_DECODE
-
URL_ENCODE
public static final BuiltInFunctionDefinition URL_ENCODE
-
INTERNAL_REPLICATE_ROWS
public static final BuiltInFunctionDefinition INTERNAL_REPLICATE_ROWS
-
INTERNAL_UNNEST_ROWS
public static final BuiltInFunctionDefinition INTERNAL_UNNEST_ROWS
-
INTERNAL_HASHCODE
public static final BuiltInFunctionDefinition INTERNAL_HASHCODE
-
ARRAY_EXCEPT
public static final BuiltInFunctionDefinition ARRAY_EXCEPT
-
ARRAY_INTERSECT
public static final BuiltInFunctionDefinition ARRAY_INTERSECT
-
AND
public static final BuiltInFunctionDefinition AND
-
OR
public static final BuiltInFunctionDefinition OR
-
NOT
public static final BuiltInFunctionDefinition NOT
-
IF
public static final BuiltInFunctionDefinition IF
-
EQUALS
public static final BuiltInFunctionDefinition EQUALS
-
GREATER_THAN
public static final BuiltInFunctionDefinition GREATER_THAN
-
GREATER_THAN_OR_EQUAL
public static final BuiltInFunctionDefinition GREATER_THAN_OR_EQUAL
-
LESS_THAN
public static final BuiltInFunctionDefinition LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final BuiltInFunctionDefinition LESS_THAN_OR_EQUAL
-
NOT_EQUALS
public static final BuiltInFunctionDefinition NOT_EQUALS
-
IS_NULL
public static final BuiltInFunctionDefinition IS_NULL
-
IS_NOT_NULL
public static final BuiltInFunctionDefinition IS_NOT_NULL
-
IS_TRUE
public static final BuiltInFunctionDefinition IS_TRUE
-
IS_FALSE
public static final BuiltInFunctionDefinition IS_FALSE
-
IS_NOT_TRUE
public static final BuiltInFunctionDefinition IS_NOT_TRUE
-
IS_NOT_FALSE
public static final BuiltInFunctionDefinition IS_NOT_FALSE
-
BETWEEN
public static final BuiltInFunctionDefinition BETWEEN
-
NOT_BETWEEN
public static final BuiltInFunctionDefinition NOT_BETWEEN
-
GREATEST
public static final BuiltInFunctionDefinition GREATEST
-
LEAST
public static final BuiltInFunctionDefinition LEAST
-
AVG
public static final BuiltInFunctionDefinition AVG
-
COUNT
public static final BuiltInFunctionDefinition COUNT
-
MAX
public static final BuiltInFunctionDefinition MAX
-
MIN
public static final BuiltInFunctionDefinition MIN
-
FIRST_VALUE
public static final BuiltInFunctionDefinition FIRST_VALUE
-
LAST_VALUE
public static final BuiltInFunctionDefinition LAST_VALUE
-
LISTAGG
public static final BuiltInFunctionDefinition LISTAGG
-
SUM
public static final BuiltInFunctionDefinition SUM
-
SUM0
public static final BuiltInFunctionDefinition SUM0
-
STDDEV_POP
public static final BuiltInFunctionDefinition STDDEV_POP
-
STDDEV_SAMP
public static final BuiltInFunctionDefinition STDDEV_SAMP
-
VAR_POP
public static final BuiltInFunctionDefinition VAR_POP
-
VAR_SAMP
public static final BuiltInFunctionDefinition VAR_SAMP
-
COLLECT
public static final BuiltInFunctionDefinition COLLECT
-
DISTINCT
public static final BuiltInFunctionDefinition DISTINCT
-
ARRAY_AGG
public static final BuiltInFunctionDefinition ARRAY_AGG
-
PERCENTILE
public static final BuiltInFunctionDefinition PERCENTILE
-
CHAR_LENGTH
public static final BuiltInFunctionDefinition CHAR_LENGTH
-
INIT_CAP
public static final BuiltInFunctionDefinition INIT_CAP
-
LIKE
public static final BuiltInFunctionDefinition LIKE
-
LOWER
public static final BuiltInFunctionDefinition LOWER
-
LOWERCASE
public static final BuiltInFunctionDefinition LOWERCASE
-
SIMILAR
public static final BuiltInFunctionDefinition SIMILAR
-
STARTS_WITH
public static final BuiltInFunctionDefinition STARTS_WITH
-
ENDS_WITH
public static final BuiltInFunctionDefinition ENDS_WITH
-
SUBSTRING
public static final BuiltInFunctionDefinition SUBSTRING
-
SUBSTR
public static final BuiltInFunctionDefinition SUBSTR
-
REPLACE
public static final BuiltInFunctionDefinition REPLACE
-
TRANSLATE
public static final BuiltInFunctionDefinition TRANSLATE
-
TRIM
public static final BuiltInFunctionDefinition TRIM
-
UPPER
public static final BuiltInFunctionDefinition UPPER
-
UPPERCASE
public static final BuiltInFunctionDefinition UPPERCASE
-
POSITION
public static final BuiltInFunctionDefinition POSITION
-
OVERLAY
public static final BuiltInFunctionDefinition OVERLAY
-
CONCAT
public static final BuiltInFunctionDefinition CONCAT
-
CONCAT_WS
public static final BuiltInFunctionDefinition CONCAT_WS
-
LPAD
public static final BuiltInFunctionDefinition LPAD
-
RPAD
public static final BuiltInFunctionDefinition RPAD
-
REGEXP_COUNT
public static final BuiltInFunctionDefinition REGEXP_COUNT
-
REGEXP_EXTRACT
public static final BuiltInFunctionDefinition REGEXP_EXTRACT
-
REGEXP_EXTRACT_ALL
public static final BuiltInFunctionDefinition REGEXP_EXTRACT_ALL
-
REGEXP_INSTR
public static final BuiltInFunctionDefinition REGEXP_INSTR
-
REGEXP_SUBSTR
public static final BuiltInFunctionDefinition REGEXP_SUBSTR
-
JSON_QUOTE
public static final BuiltInFunctionDefinition JSON_QUOTE
-
JSON_UNQUOTE
public static final BuiltInFunctionDefinition JSON_UNQUOTE
-
FROM_BASE64
public static final BuiltInFunctionDefinition FROM_BASE64
-
TO_BASE64
public static final BuiltInFunctionDefinition TO_BASE64
-
ASCII
public static final BuiltInFunctionDefinition ASCII
-
CHR
public static final BuiltInFunctionDefinition CHR
-
DECODE
public static final BuiltInFunctionDefinition DECODE
-
ENCODE
public static final BuiltInFunctionDefinition ENCODE
-
LEFT
public static final BuiltInFunctionDefinition LEFT
-
RIGHT
public static final BuiltInFunctionDefinition RIGHT
-
INSTR
public static final BuiltInFunctionDefinition INSTR
-
LOCATE
public static final BuiltInFunctionDefinition LOCATE
-
PARSE_URL
public static final BuiltInFunctionDefinition PARSE_URL
-
PRINTF
public static final BuiltInFunctionDefinition PRINTF
-
UUID
public static final BuiltInFunctionDefinition UUID
-
LTRIM
public static final BuiltInFunctionDefinition LTRIM
-
RTRIM
public static final BuiltInFunctionDefinition RTRIM
-
BTRIM
public static final BuiltInFunctionDefinition BTRIM
-
REPEAT
public static final BuiltInFunctionDefinition REPEAT
-
REGEXP
public static final BuiltInFunctionDefinition REGEXP
-
REGEXP_REPLACE
public static final BuiltInFunctionDefinition REGEXP_REPLACE
-
REVERSE
public static final BuiltInFunctionDefinition REVERSE
-
SPLIT_INDEX
public static final BuiltInFunctionDefinition SPLIT_INDEX
-
STR_TO_MAP
public static final BuiltInFunctionDefinition STR_TO_MAP
-
ELT
public static final BuiltInFunctionDefinition ELT
-
PLUS
public static final BuiltInFunctionDefinition PLUS
Combines numeric addition, "datetime + interval"/"interval + interval" arithmetic, and string concatenation.
-
AGG_DECIMAL_PLUS
public static final BuiltInFunctionDefinition AGG_DECIMAL_PLUS
Special "+" operator used internally for implementing SUM/AVG aggregations (with and without retractions) on a Decimal type. Uses theLogicalTypeMerging.findSumAggType(LogicalType)
to prevent the normalPLUS
from overriding the special calculation for precision and scale needed by the aggregate function.
-
HIVE_AGG_DECIMAL_PLUS
public static final BuiltInFunctionDefinition HIVE_AGG_DECIMAL_PLUS
Special "+" operator used internally for implementing native hive SUM/AVG aggregations on a Decimal type. Here is used to prevent the normalPLUS
from overriding the special calculation for precision and scale needed by the aggregate function.LogicalTypeMerging.findAdditionDecimalType(int, int, int, int)
will add 1 to the precision of the plus result type, but for hive we just keep the precision as input type.
-
MINUS
public static final BuiltInFunctionDefinition MINUS
Combines numeric subtraction and "datetime - interval" arithmetic.
-
AGG_DECIMAL_MINUS
public static final BuiltInFunctionDefinition AGG_DECIMAL_MINUS
Special "-" operator used internally for implementing SUM/AVG aggregations (with and without retractions) on a Decimal type. Uses theLogicalTypeMerging.findSumAggType(LogicalType)
to prevent the normalMINUS
from overriding the special calculation for precision and scale needed by the aggregate function.
-
DIVIDE
public static final BuiltInFunctionDefinition DIVIDE
-
TIMES
public static final BuiltInFunctionDefinition TIMES
-
ABS
public static final BuiltInFunctionDefinition ABS
-
EXP
public static final BuiltInFunctionDefinition EXP
-
FLOOR
public static final BuiltInFunctionDefinition FLOOR
-
CEIL
public static final BuiltInFunctionDefinition CEIL
-
LOG10
public static final BuiltInFunctionDefinition LOG10
-
LOG2
public static final BuiltInFunctionDefinition LOG2
-
LN
public static final BuiltInFunctionDefinition LN
-
LOG
public static final BuiltInFunctionDefinition LOG
-
POWER
public static final BuiltInFunctionDefinition POWER
-
MOD
public static final BuiltInFunctionDefinition MOD
-
SQRT
public static final BuiltInFunctionDefinition SQRT
-
MINUS_PREFIX
public static final BuiltInFunctionDefinition MINUS_PREFIX
-
SIN
public static final BuiltInFunctionDefinition SIN
-
COS
public static final BuiltInFunctionDefinition COS
-
SINH
public static final BuiltInFunctionDefinition SINH
-
TAN
public static final BuiltInFunctionDefinition TAN
-
TANH
public static final BuiltInFunctionDefinition TANH
-
COT
public static final BuiltInFunctionDefinition COT
-
ASIN
public static final BuiltInFunctionDefinition ASIN
-
ACOS
public static final BuiltInFunctionDefinition ACOS
-
ATAN
public static final BuiltInFunctionDefinition ATAN
-
ATAN2
public static final BuiltInFunctionDefinition ATAN2
-
COSH
public static final BuiltInFunctionDefinition COSH
-
DEGREES
public static final BuiltInFunctionDefinition DEGREES
-
RADIANS
public static final BuiltInFunctionDefinition RADIANS
-
SIGN
public static final BuiltInFunctionDefinition SIGN
-
ROUND
public static final BuiltInFunctionDefinition ROUND
-
PI
public static final BuiltInFunctionDefinition PI
-
E
public static final BuiltInFunctionDefinition E
-
RAND
public static final BuiltInFunctionDefinition RAND
-
RAND_INTEGER
public static final BuiltInFunctionDefinition RAND_INTEGER
-
BIN
public static final BuiltInFunctionDefinition BIN
-
HEX
public static final BuiltInFunctionDefinition HEX
-
UNHEX
public static final BuiltInFunctionDefinition UNHEX
-
TRUNCATE
public static final BuiltInFunctionDefinition TRUNCATE
-
CURRENT_DATABASE
public static final BuiltInFunctionDefinition CURRENT_DATABASE
-
EXTRACT
public static final BuiltInFunctionDefinition EXTRACT
-
CURRENT_DATE
public static final BuiltInFunctionDefinition CURRENT_DATE
-
CURRENT_TIME
public static final BuiltInFunctionDefinition CURRENT_TIME
-
LOCAL_TIME
public static final BuiltInFunctionDefinition LOCAL_TIME
-
CURRENT_TIMESTAMP
public static final BuiltInFunctionDefinition CURRENT_TIMESTAMP
-
NOW
public static final BuiltInFunctionDefinition NOW
-
CURRENT_ROW_TIMESTAMP
public static final BuiltInFunctionDefinition CURRENT_ROW_TIMESTAMP
-
LOCAL_TIMESTAMP
public static final BuiltInFunctionDefinition LOCAL_TIMESTAMP
-
TEMPORAL_OVERLAPS
public static final BuiltInFunctionDefinition TEMPORAL_OVERLAPS
-
DATE_FORMAT
public static final BuiltInFunctionDefinition DATE_FORMAT
-
TIMESTAMP_DIFF
public static final BuiltInFunctionDefinition TIMESTAMP_DIFF
-
CONVERT_TZ
public static final BuiltInFunctionDefinition CONVERT_TZ
-
FROM_UNIXTIME
public static final BuiltInFunctionDefinition FROM_UNIXTIME
-
UNIX_TIMESTAMP
public static final BuiltInFunctionDefinition UNIX_TIMESTAMP
-
TO_DATE
public static final BuiltInFunctionDefinition TO_DATE
-
TO_TIMESTAMP_LTZ
public static final BuiltInFunctionDefinition TO_TIMESTAMP_LTZ
-
TO_TIMESTAMP
public static final BuiltInFunctionDefinition TO_TIMESTAMP
-
AT
public static final BuiltInFunctionDefinition AT
-
CARDINALITY
public static final BuiltInFunctionDefinition CARDINALITY
-
ARRAY
public static final BuiltInFunctionDefinition ARRAY
-
ARRAY_ELEMENT
public static final BuiltInFunctionDefinition ARRAY_ELEMENT
-
MAP
public static final BuiltInFunctionDefinition MAP
-
ROW
public static final BuiltInFunctionDefinition ROW
-
FLATTEN
public static final BuiltInFunctionDefinition FLATTEN
-
GET
public static final BuiltInFunctionDefinition GET
-
MD5
public static final BuiltInFunctionDefinition MD5
-
SHA1
public static final BuiltInFunctionDefinition SHA1
-
SHA224
public static final BuiltInFunctionDefinition SHA224
-
SHA256
public static final BuiltInFunctionDefinition SHA256
-
SHA384
public static final BuiltInFunctionDefinition SHA384
-
SHA512
public static final BuiltInFunctionDefinition SHA512
-
SHA2
public static final BuiltInFunctionDefinition SHA2
-
WINDOW_START
public static final BuiltInFunctionDefinition WINDOW_START
-
WINDOW_END
public static final BuiltInFunctionDefinition WINDOW_END
-
ORDER_ASC
public static final BuiltInFunctionDefinition ORDER_ASC
-
ORDER_DESC
public static final BuiltInFunctionDefinition ORDER_DESC
-
PROCTIME
public static final BuiltInFunctionDefinition PROCTIME
-
ROWTIME
public static final BuiltInFunctionDefinition ROWTIME
-
CURRENT_WATERMARK
public static final BuiltInFunctionDefinition CURRENT_WATERMARK
-
OVER
public static final BuiltInFunctionDefinition OVER
-
WITH_COLUMNS
public static final BuiltInFunctionDefinition WITH_COLUMNS
-
WITHOUT_COLUMNS
public static final BuiltInFunctionDefinition WITHOUT_COLUMNS
-
IS_JSON
public static final BuiltInFunctionDefinition IS_JSON
-
JSON_EXISTS
public static final BuiltInFunctionDefinition JSON_EXISTS
-
JSON_VALUE
public static final BuiltInFunctionDefinition JSON_VALUE
-
JSON_QUERY
public static final BuiltInFunctionDefinition JSON_QUERY
-
JSON_STRING
public static final BuiltInFunctionDefinition JSON_STRING
-
JSON_OBJECT
public static final BuiltInFunctionDefinition JSON_OBJECT
-
JSON_OBJECTAGG_NULL_ON_NULL
public static final BuiltInFunctionDefinition JSON_OBJECTAGG_NULL_ON_NULL
-
JSON_OBJECTAGG_ABSENT_ON_NULL
public static final BuiltInFunctionDefinition JSON_OBJECTAGG_ABSENT_ON_NULL
-
JSON_ARRAY
public static final BuiltInFunctionDefinition JSON_ARRAY
-
JSON_ARRAYAGG_NULL_ON_NULL
public static final BuiltInFunctionDefinition JSON_ARRAYAGG_NULL_ON_NULL
-
JSON_ARRAYAGG_ABSENT_ON_NULL
public static final BuiltInFunctionDefinition JSON_ARRAYAGG_ABSENT_ON_NULL
-
IN
public static final BuiltInFunctionDefinition IN
-
CAST
public static final BuiltInFunctionDefinition CAST
-
TRY_CAST
public static final BuiltInFunctionDefinition TRY_CAST
-
REINTERPRET_CAST
public static final BuiltInFunctionDefinition REINTERPRET_CAST
-
AS
public static final BuiltInFunctionDefinition AS
-
STREAM_RECORD_TIMESTAMP
public static final BuiltInFunctionDefinition STREAM_RECORD_TIMESTAMP
-
RANGE_TO
public static final BuiltInFunctionDefinition RANGE_TO
-
WINDOW_PROPERTIES
public static final Set<FunctionDefinition> WINDOW_PROPERTIES
-
TIME_ATTRIBUTES
public static final Set<FunctionDefinition> TIME_ATTRIBUTES
-
ORDERING
public static final List<FunctionDefinition> ORDERING
-
-
Method Detail
-
getDefinitions
@Internal public static List<BuiltInFunctionDefinition> getDefinitions()
-
-