com.akiban.sql.parser
Class BinaryRelationalOperatorNode

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.BinaryComparisonOperatorNode
                  extended by com.akiban.sql.parser.BinaryRelationalOperatorNode
All Implemented Interfaces:
Visitable

public class BinaryRelationalOperatorNode
extends BinaryComparisonOperatorNode

This class represents the 6 binary operators: LessThan, LessThanEquals, Equals, NotEquals, GreaterThan and GreaterThanEquals.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.akiban.sql.parser.BinaryOperatorNode
BinaryOperatorNode.OperatorType
 
Field Summary
static int EQUALS_RELOP
           
static int GREATER_EQUALS_RELOP
           
static int GREATER_THAN_RELOP
           
static int IS_NOT_NULL_RELOP
           
static int IS_NULL_RELOP
           
static int LESS_EQUALS_RELOP
           
static int LESS_THAN_RELOP
           
static int NOT_EQUALS_RELOP
           
 
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
BinaryRelationalOperatorNode()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 int getOperatorType()
           
 void init(Object leftOperand, Object rightOperand)
          Initialize a query tree node.
 
Methods inherited from class com.akiban.sql.parser.BinaryComparisonOperatorNode
init, isForQueryRewrite, setForQueryRewrite
 
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, 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

EQUALS_RELOP

public static final int EQUALS_RELOP
See Also:
Constant Field Values

NOT_EQUALS_RELOP

public static final int NOT_EQUALS_RELOP
See Also:
Constant Field Values

GREATER_THAN_RELOP

public static final int GREATER_THAN_RELOP
See Also:
Constant Field Values

GREATER_EQUALS_RELOP

public static final int GREATER_EQUALS_RELOP
See Also:
Constant Field Values

LESS_THAN_RELOP

public static final int LESS_THAN_RELOP
See Also:
Constant Field Values

LESS_EQUALS_RELOP

public static final int LESS_EQUALS_RELOP
See Also:
Constant Field Values

IS_NULL_RELOP

public static final int IS_NULL_RELOP
See Also:
Constant Field Values

IS_NOT_NULL_RELOP

public static final int IS_NOT_NULL_RELOP
See Also:
Constant Field Values
Constructor Detail

BinaryRelationalOperatorNode

public BinaryRelationalOperatorNode()
Method Detail

init

public void init(Object leftOperand,
                 Object rightOperand)
Description copied from class: QueryTreeNode
Initialize a query tree node.

Overrides:
init in class QueryTreeNode

copyFrom

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

Overrides:
copyFrom in class BinaryComparisonOperatorNode
Throws:
StandardException

getOperatorType

public int getOperatorType()


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