@Evolving public class GeneralScalarExpression extends Object implements Expression, java.io.Serializable
Predicate
for the supported predicate expressions.
The currently supported SQL scalar expressions:
+
expr1 + expr2-
expr1 - expr2 or - expr*
expr1 * expr2/
expr1 / expr2%
expr1 % expr2&
expr1 & expr2|
expr1 | expr2^
expr1 ^ expr2~
~ exprCASE_WHEN
CASE WHEN expr1 THEN expr2 [WHEN expr3 THEN expr4]* [ELSE expr5] END
ABS
ABS(expr)COALESCE
COALESCE(expr1, expr2)LN
LN(expr)EXP
EXP(expr)POWER
POWER(expr, number)SQRT
SQRT(expr)FLOOR
FLOOR(expr)CEIL
CEIL(expr)WIDTH_BUCKET
WIDTH_BUCKET(expr)EMPTY_EXPRESSION| Constructor and Description |
|---|
GeneralScalarExpression(String name,
Expression[] children) |
| Modifier and Type | Method and Description |
|---|---|
Expression[] |
children()
Returns an array of the children of this node.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name() |
String |
toString() |
describe, referencespublic GeneralScalarExpression(String name,
Expression[] children)
public String name()
public Expression[] children()
Expressionchildren in interface Expressionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object