com.akiban.sql.parser
Class AggregateWindowFunctionNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.ValueNode
          extended by com.akiban.sql.parser.UnaryOperatorNode
              extended by com.akiban.sql.parser.WindowFunctionNode
                  extended by com.akiban.sql.parser.AggregateWindowFunctionNode
All Implemented Interfaces:
Visitable

public final class AggregateWindowFunctionNode
extends WindowFunctionNode

Represents aggregate function calls on a window


Field Summary
 
Fields inherited from class com.akiban.sql.parser.UnaryOperatorNode
methodName, operator, receiverInterfaceType, resultInterfaceType
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
AggregateWindowFunctionNode()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 AggregateNode getAggregateFunction()
           
 void init(Object arg1, Object arg2)
          Initializer.
 void printSubNodes(int depth)
          QueryTreeNode override.
 
Methods inherited from class com.akiban.sql.parser.WindowFunctionNode
getWindow, init, isConstantExpression, setWindow
 
Methods inherited from class com.akiban.sql.parser.UnaryOperatorNode
getMethodName, getOperand, getOperator, init, isEquivalent, setOperand, 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

AggregateWindowFunctionNode

public AggregateWindowFunctionNode()
Method Detail

init

public void init(Object arg1,
                 Object arg2)
          throws StandardException
Initializer. QueryTreeNode override.

Overrides:
init in class QueryTreeNode
Parameters:
arg1 - The window definition or reference
arg2 - aggregate function node
Throws:
StandardException

getAggregateFunction

public AggregateNode getAggregateFunction()

copyFrom

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

Overrides:
copyFrom in class WindowFunctionNode
Throws:
StandardException

printSubNodes

public void printSubNodes(int depth)
QueryTreeNode override. Prints the sub-nodes of this object.

Overrides:
printSubNodes in class WindowFunctionNode
Parameters:
depth - The depth of this node in the tree
See Also:
QueryTreeNode.printSubNodes(int)


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