@Evolving public class Predicate extends ScalarExpression
ScalarExpression
that evaluates to true, false, or null for each input row.
Currently, implementations of ExpressionHandler requires support for at least the
following scalar expressions.
=
expr1 = expr2<
expr1 < expr2<=
expr1 <= expr2>
expr1 > expr2>=
expr1 >= expr2ALWAYS_TRUE
Constant expression whose value is `true`ALWAYS_FALSE
Constant expression whose value is `false`AND
expr1 AND expr2OR
expr1 OR expr2NOT
NOT exprIS_NOT_NULL
expr IS NOT NULL| Constructor and Description |
|---|
Predicate(String name,
Expression child)
Constructor for a unary Predicate expression
|
Predicate(String name,
Expression left,
Expression right)
Constructor for a binary Predicate expression
|
Predicate(String name,
java.util.List<Expression> children) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getChildren, getNamepublic Predicate(String name,
java.util.List<Expression> children)
public Predicate(String name,
Expression child)
public Predicate(String name,
Expression left,
Expression right)
public String toString()
toString in class ScalarExpression