org.eigenbase.rel.rules
Class PushProjector.OperatorExprCondition
java.lang.Object
org.eigenbase.rel.rules.PushProjector.OperatorExprCondition
- All Implemented Interfaces:
- PushProjector.ExprCondition
- Enclosing class:
- PushProjector
public static class PushProjector.OperatorExprCondition
- extends Object
- implements PushProjector.ExprCondition
An expression condition that evaluates to true if the expression is
a call to one of a set of operators.
Method Summary |
boolean |
test(RexNode expr)
Evaluates a condition for a given expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operatorSet
private final Set<SqlOperator> operatorSet
PushProjector.OperatorExprCondition
public PushProjector.OperatorExprCondition(Set<SqlOperator> operatorSet)
- Creates an OperatorExprCondition.
- Parameters:
operatorSet
- Set of operators
test
public boolean test(RexNode expr)
- Description copied from interface:
PushProjector.ExprCondition
- Evaluates a condition for a given expression.
- Specified by:
test
in interface PushProjector.ExprCondition
- Parameters:
expr
- Expression
- Returns:
- result of evaluating the condition