com.akiban.sql.parser
Class BinaryLogicalOperatorNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.ValueNode
          extended by com.akiban.sql.parser.BinaryOperatorNode
              extended by com.akiban.sql.parser.BinaryLogicalOperatorNode
All Implemented Interfaces:
Visitable
Direct Known Subclasses:
AndNode, IsNode, OrNode

public abstract class BinaryLogicalOperatorNode
extends BinaryOperatorNode


Nested Class Summary
 
Nested classes/interfaces inherited from class com.akiban.sql.parser.BinaryOperatorNode
BinaryOperatorNode.OperatorType
 
Field Summary
protected  boolean shortCircuitValue
           
 
Fields inherited from class com.akiban.sql.parser.BinaryOperatorNode
leftInterfaceType, leftOperand, methodName, operator, resultInterfaceType, rightInterfaceType, rightOperand
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
BinaryLogicalOperatorNode()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 void init(Object leftOperand, Object rightOperand, Object methodName)
          Initializer for a BinaryLogicalOperatorNode
 
Methods inherited from class com.akiban.sql.parser.BinaryOperatorNode
getLeftOperand, getMethodName, getOperator, getRightOperand, init, init, isConstantExpression, isEquivalent, printSubNodes, setLeftOperand, setLeftRightInterfaceType, setRightOperand, toString
 
Methods inherited from class com.akiban.sql.parser.ValueNode
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, 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
 

Field Detail

shortCircuitValue

protected boolean shortCircuitValue
Constructor Detail

BinaryLogicalOperatorNode

public BinaryLogicalOperatorNode()
Method Detail

init

public void init(Object leftOperand,
                 Object rightOperand,
                 Object methodName)
Initializer for a BinaryLogicalOperatorNode

Overrides:
init in class QueryTreeNode
Parameters:
leftOperand - The left operand of the comparison
rightOperand - The right operand of the comparison
methodName - The name of the method to call in the generated class. In this case, it's actually an operator name.

copyFrom

public void copyFrom(QueryTreeNode node)
              throws StandardException
Fill this node with a deep copy of the given node.

Overrides:
copyFrom in class BinaryOperatorNode
Throws:
StandardException


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