public final class BinaryArithmeticOperatorNode extends BinaryOperatorNode
QueryTreeNode.WordUtils
AND, BinaryArgTypes, BinaryMethodNames, BinaryOperators, BinaryResultTypes, CONCATENATE, DIVIDE, EQ, GE, GT, LE, leftInterfaceType, leftOperand, LIKE, LT, methodName, MINUS, NE, operator, operatorType, OR, PLUS, receiver, resultInterfaceType, rightInterfaceType, rightOperand, TIMES, XMLEXISTS_OP, XMLQUERY_OP
dataTypeServices, transformed
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, depth, isPrivilegeCollectionRequired
Constructor and Description |
---|
BinaryArithmeticOperatorNode() |
Modifier and Type | Method and Description |
---|---|
ValueNode |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.List<AggregateNode> aggregateVector)
Bind this operator
|
void |
init(java.lang.Object leftOperand,
java.lang.Object rightOperand)
Initializer for a BinaryArithmeticOperatorNode
|
void |
setNodeType(int nodeType)
Set the node type for this node.
|
acceptChildren, bindXMLQuery, categorize, checkCRLevel, constantExpression, generateExpression, genSQLJavaSQLTree, getChildren, getHashableJoinColumnReference, getLeftOperand, getOperatorString, getOrderableVariantType, getReceiverInterfaceName, getRightOperand, getTableNumber, hashCode, init, init, init, isConstantExpression, isEquivalent, nonZeroCardinality, preprocess, printSubNodes, remapColumnReferencesToExpressions, setHashableJoinColumnReference, setLeftOperand, setLeftRightInterfaceType, setMethodName, setOperator, setRightOperand, toString
pushSqlXmlUtil
bindExpression, changeToCNF, checkIsBoolean, checkTopPredicatesForEqualsConditions, copyFields, eliminateNots, equals, evaluateConstantExpressions, explainDisplay, genEqualsFalseTree, generate, generateFilter, genIsNullTree, getClone, getColumnName, getConstantValueAsObject, getCoordinates, getDataValueFactory, getSchemaName, getSourceResultColumn, getTableName, getTablesReferenced, getTransformed, getTypeCompiler, getTypeId, getTypeServices, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isCloneable, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, joinSelectivity, optimizableEqualityNode, putAndsOnTop, requiresTypeFromContext, scanSelectivity, selectivity, setCollationInfo, setCollationInfo, setCollationUsingCompilationSchema, setCollationUsingCompilationSchema, setNullability, setTransformed, setType, setType, setType, toHTMLString, updatableByCursor, verifyChangeToCNF, verifyEliminateNots, verifyPutAndsOnTop
accept, accept, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, buildTree, checkReliability, checkReliability, childParentMap, collectReferencedColumns, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getConstantNode, getConstantNodeType, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getExtraInformation, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, isAtomic, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, markReferencedResultColumns, nodeHeader, orReliability, parseStatement, printExplainInformation, printExplainInformation, printExplainInformation, printExplainInformationForActivation, printLabel, printRuntimeInformation, projectionListPruning, referencesSessionSchema, resolveTableToSynonym, rsnChainMap, setBeginOffset, setContextManager, setDepth, setEndOffset, setRefActionInfo, spaceToLevel, treePrint, treePrint, verifyClassExist
public void init(java.lang.Object leftOperand, java.lang.Object rightOperand)
init
in interface Node
init
in class QueryTreeNode
leftOperand
- The left operandrightOperand
- The right operandpublic void setNodeType(int nodeType)
QueryTreeNode
setNodeType
in class QueryTreeNode
nodeType
- The node type.public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, java.util.List<AggregateNode> aggregateVector) throws StandardException
bindExpression
in class BinaryOperatorNode
fromList
- The query's FROM listsubqueryList
- The subquery list being built as we find SubqueryNodesaggregateVector
- The aggregate vector being built as we find AggregateNodesStandardException
- Thrown on error