com.akiban.sql.parser
Class BinaryComparisonOperatorNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ValueNode
com.akiban.sql.parser.BinaryOperatorNode
com.akiban.sql.parser.BinaryComparisonOperatorNode
- All Implemented Interfaces:
- Visitable
- Direct Known Subclasses:
- BinaryRelationalOperatorNode
public abstract class BinaryComparisonOperatorNode
- extends BinaryOperatorNode
This node is the superclass for all binary comparison operators, such as =,
<>, <, etc.
| Methods inherited from class com.akiban.sql.parser.BinaryOperatorNode |
getLeftOperand, getMethodName, getOperator, getRightOperand, 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, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
BinaryComparisonOperatorNode
public BinaryComparisonOperatorNode()
init
public void init(Object leftOperand,
Object rightOperand,
Object operator,
Object methodName)
- Initializer for a BinaryComparisonOperatorNode
- Overrides:
init in class BinaryOperatorNode
- Parameters:
leftOperand - The left operand of the comparisonrightOperand - The right operand of the comparisonoperator - The name of the operatormethodName - The name of the method to call in the generated class
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
setForQueryRewrite
public void setForQueryRewrite(boolean val)
- This node was generated as part of a query rewrite. Bypass the
normal comparability checks.
- Parameters:
val - true if this was for a query rewrite
isForQueryRewrite
public boolean isForQueryRewrite()
- Was this node generated in a query rewrite?
- Returns:
- true if it was generated in a query rewrite.
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.