Class PushProjector.OperatorExprCondition

    • Constructor Summary

      Constructors 
      Constructor Description
      OperatorExprCondition​(java.lang.Iterable<? extends SqlOperator> operatorSet)
      Creates an OperatorExprCondition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Field Detail

      • operatorSet

        private final java.util.Set<SqlOperator> operatorSet
    • Constructor Detail

      • OperatorExprCondition

        OperatorExprCondition​(java.lang.Iterable<? extends SqlOperator> operatorSet)
        Creates an OperatorExprCondition.
        Parameters:
        operatorSet - Set of operators
    • Method Detail

      • test

        public boolean test​(RexNode expr)
        Description copied from interface: PushProjector.ExprCondition
        Evaluates a condition for a given expression.
        Specified by:
        test in interface java.util.function.Predicate<RexNode>
        Specified by:
        test in interface PushProjector.ExprCondition
        Parameters:
        expr - Expression
        Returns:
        result of evaluating the condition