public abstract class WindowFunctionNode extends UnaryOperatorNode
methodName, operator, receiverInterfaceType, resultInterfaceType
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
WindowFunctionNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
WindowNode |
getWindow() |
void |
init(java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
Initializer for a WindowFunctionNode
|
boolean |
isConstantExpression()
ValueNode override.
|
void |
printSubNodes(int depth)
QueryTreeNode override.
|
void |
setWindow(WindowDefinitionNode wdn)
Set window associated with this window function call.
|
getMethodName, getOperand, getOperator, init, isEquivalent, setOperand, toString
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType
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
public void init(java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3) throws StandardException
init
in class UnaryOperatorNode
arg1
- null (operand)arg2
- function mame (operator)arg3
- window node (definition or reference)StandardException
public void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class UnaryOperatorNode
StandardException
public boolean isConstantExpression()
isConstantExpression
in class ValueNode
ValueNode.isConstantExpression()
public WindowNode getWindow()
public void setWindow(WindowDefinitionNode wdn)
wdn
- window definitionpublic void printSubNodes(int depth)
printSubNodes
in class UnaryOperatorNode
depth
- The depth of this node in the treeQueryTreeNode.printSubNodes(int)
Copyright © 2013. All Rights Reserved.