Class BinaryLogicalOperatorNode

    • Field Detail

      • shortCircuitValue

        boolean shortCircuitValue
    • Constructor Detail

    • Method Detail

      • bindExpression

        ValueNode bindExpression​(FromList fromList,
                                 SubqueryList subqueryList,
                                 java.util.List<AggregateNode> aggregates)
                          throws StandardException
        Bind this logical operator. All that has to be done for binding a logical operator is to bind the operands, check that both operands are BooleanDataValue, and set the result type to BooleanDataValue.
        Overrides:
        bindExpression in class BinaryOperatorNode
        Parameters:
        fromList - The query's FROM list
        subqueryList - The subquery list being built as we find SubqueryNodes
        aggregates - The aggregate list being built as we find AggregateNodes
        Returns:
        The new top of the expression tree.
        Throws:
        StandardException - Thrown on error
      • verifyEliminateNots

        boolean verifyEliminateNots()
        Verify that eliminateNots() did its job correctly. Verify that there are no NotNodes above the top level comparison operators and boolean expressions.
        Overrides:
        verifyEliminateNots in class ValueNode
        Returns:
        Boolean which reflects validity of the tree.