com.akiban.sql.parser
Class XMLBinaryOperatorNode

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.XMLBinaryOperatorNode
All Implemented Interfaces:
Visitable

public class XMLBinaryOperatorNode
extends BinaryOperatorNode

A BinaryOperatorNode represents a built-in binary operator as defined by the ANSI/ISO SQL standard. This covers operators like +, -, *, /, =, <, etc. Java operators are not represented here: the JSQL language allows Java methods to be called from expressions, but not Java operators.


Nested Class Summary
static class XMLBinaryOperatorNode.OnEmpty
           
static class XMLBinaryOperatorNode.OperatorType
           
static class XMLBinaryOperatorNode.PassByType
           
static class XMLBinaryOperatorNode.ReturnType
           
 
Field Summary
 
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
XMLBinaryOperatorNode()
           
 
Method Summary
 void init(Object leftOperand, Object rightOperand, Object opType)
          Initializer for a BinaryOperatorNode
 
Methods inherited from class com.akiban.sql.parser.BinaryOperatorNode
copyFrom, 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
 

Constructor Detail

XMLBinaryOperatorNode

public XMLBinaryOperatorNode()
Method Detail

init

public void init(Object leftOperand,
                 Object rightOperand,
                 Object opType)
Initializer for a BinaryOperatorNode

Overrides:
init in class QueryTreeNode
Parameters:
leftOperand - The left operand of the node
rightOperand - The right operand of the node
opType - An Integer holding the operatorType for this operator.


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