Enum Class Templates
- All Implemented Interfaces:
Serializable, Comparable<Templates>, Constable, Template
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface Template
Template.Default -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription绝对值并且任一值平均数在...之间向上取整字符长度空值替换CONCAT 字符串拼接函数列条数(忽略NULL)总条数列条数去重(忽略NULL)相除等于存在向下取整大于大于等于在...是否不为空是否空json包含json数值like匹配转小写小于小于等于最大值最小值相减取余相乘不等于负值非不在...之间不存在不在...非like匹配等值置空字节长度或者括号相加获取字符串在列中下标正则匹配替换四舍五入行构造器分组内string拼接聚合分组内string去重拼接聚合分割字符串求和去除两端空格转大写 -
Field Summary
Fields inherited from interface Template
FUNCTION_PRECEDENCE -
Method Summary
-
Enum Constant Details
-
ROW
行构造器 -
AVG
平均数 -
COUNT
列条数(忽略NULL) -
COUNT_ALL
总条数 -
COUNT_DISTINCT
列条数去重(忽略NULL) -
MAX
最大值 -
MIN
最小值 -
SUM
求和 -
ANY_VALUE
任一值 -
STRING_AGG
分组内string拼接聚合 -
STRING_AGG_DISTINCT
分组内string去重拼接聚合 -
MOD
取余 -
ABS
绝对值 -
CEILING
向上取整 -
FLOOR
向下取整 -
ROUND
四舍五入 -
CONCAT
CONCAT 字符串拼接函数 -
OCTET_LENGTH
字节长度 -
CHAR_LENGTH
字符长度 -
UPPER
转大写 -
LOWER
转小写 -
SUBSTRING
分割字符串 -
TRIM
去除两端空格 -
POSITION
获取字符串在列中下标 -
REPLACE
替换 -
LIKE
like匹配 -
NOT_LIKE
非like匹配 -
REGEXP_LIKE
正则匹配 -
JSON_VALUE
json数值 -
JSON_EXISTS
json包含 -
COALESCE
空值替换 -
NULLIF
等值置空 -
PAREN
括号 -
NEGATIVE
负值 -
MUL
相乘 -
DIV
相除 -
PLUS
相加 -
MINUS
相减 -
GT
大于 -
GTE
大于等于 -
LT
小于 -
LTE
小于等于 -
NE
不等于 -
EQ
等于 -
BETWEEN_AND
在...之间 -
NOT_BETWEEN_AND
不在...之间 -
IS_NULL
是否空 -
IS_NOT_NULL
是否不为空 -
IN
在... -
NOT_IN
不在... -
EXISTS
存在 -
NOT_EXISTS
不存在 -
NOT
非 -
AND
并且 -
OR
或者
-
-
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
-
precedence
public int precedence()Description copied from interface:Template优先级,越大越优先,作用于操作符- Specified by:
precedencein interfaceTemplate- Returns:
- 优先级
-
template
-