com.akiban.sql.parser
Class WindowFunctionNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ValueNode
com.akiban.sql.parser.UnaryOperatorNode
com.akiban.sql.parser.WindowFunctionNode
- All Implemented Interfaces:
- Visitable
- Direct Known Subclasses:
- AggregateWindowFunctionNode, RowNumberFunctionNode
public abstract class WindowFunctionNode
- extends UnaryOperatorNode
Superclass of any window function call.
| 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 |
WindowFunctionNode
public WindowFunctionNode()
init
public void init(Object arg1,
Object arg2,
Object arg3)
throws StandardException
- Initializer for a WindowFunctionNode
- Overrides:
init in class UnaryOperatorNode
- Parameters:
arg1 - null (operand)arg2 - function mame (operator)arg3 - window node (definition or reference)
- Throws:
StandardException
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class UnaryOperatorNode
- Throws:
StandardException
isConstantExpression
public boolean isConstantExpression()
- ValueNode override.
- Overrides:
isConstantExpression in class ValueNode
- Returns:
- Whether or not this expression tree represents a constant expression.
- See Also:
ValueNode.isConstantExpression()
getWindow
public WindowNode getWindow()
- Returns:
- window associated with this window function
setWindow
public void setWindow(WindowDefinitionNode wdn)
- Set window associated with this window function call.
- Parameters:
wdn - window definition
printSubNodes
public void printSubNodes(int depth)
- QueryTreeNode override.
- Overrides:
printSubNodes in class UnaryOperatorNode
- Parameters:
depth - The depth of this node in the tree- See Also:
QueryTreeNode.printSubNodes(int)
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.