com.akiban.sql.parser
Class NotNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.ValueNode
          extended by com.akiban.sql.parser.UnaryOperatorNode
              extended by com.akiban.sql.parser.UnaryLogicalOperatorNode
                  extended by com.akiban.sql.parser.NotNode
All Implemented Interfaces:
Visitable

public final class NotNode
extends UnaryLogicalOperatorNode

A NotNode represents a NOT operator. Preprocessing will eliminate the NotNodes which exist above comparison operators so that the optimizer will see a query tree in CNF.


Field Summary
 
Fields inherited from class com.akiban.sql.parser.UnaryOperatorNode
methodName, operator, receiverInterfaceType, resultInterfaceType
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
NotNode()
           
 
Method Summary
 void init(Object operand)
          Initializer for a NotNode
 
Methods inherited from class com.akiban.sql.parser.UnaryLogicalOperatorNode
init
 
Methods inherited from class com.akiban.sql.parser.UnaryOperatorNode
copyFrom, getMethodName, getOperand, getOperator, init, isEquivalent, printSubNodes, setOperand, toString
 
Methods inherited from class com.akiban.sql.parser.ValueNode
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isConstantExpression, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType
 
Methods inherited from class com.akiban.sql.parser.QueryTreeNode
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotNode

public NotNode()
Method Detail

init

public void init(Object operand)
          throws StandardException
Initializer for a NotNode

Overrides:
init in class UnaryOperatorNode
Parameters:
operand - The operand of the NOT
Throws:
StandardException - Thrown on error


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.