public class ExpressionUtils
extends Object
| Constructor and Description |
|---|
ExpressionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Predicate |
asPredicate(Expression expression)
Return an expression cast as a predicate, throw an error if it is not a predicate
|
static Expression |
getLeft(Expression expression)
Utility method to return the left child of the binary input expression
|
static Expression |
getRight(Expression expression)
Utility method to return the right child of the binary input expression
|
static Expression |
getUnaryChild(Expression expression)
Utility method to return the single child of the unary input expression
|
public static Predicate asPredicate(Expression expression)
public static Expression getLeft(Expression expression)
public static Expression getRight(Expression expression)
public static Expression getUnaryChild(Expression expression)