Class UnaryLogicalOperatorNode

    • 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 operand, check that the operand is SQLBoolean, and set the result type to SQLBoolean.
        Overrides:
        bindExpression in class UnaryOperatorNode
        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
      • setFullTypeInfo

        protected void setFullTypeInfo()
                                throws StandardException
        Set all of the type info (nullability and DataTypeServices) for this node. Extracts out tasks that must be done by both bind() and post-bind() AndNode generation.
        Throws:
        StandardException - Thrown on error