Top Description Fields Constructors Methods
org.apache.derby.impl.sql.compile

pack-priv final Class AggregateWindowFunctionNode

extends WindowFunctionNode
Class Inheritance
Imports
java.util.List, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.iapi.services.context.ContextManager

Represents aggregate function calls on a window

Field Summary

Modifier and TypeField and Description
private AggregateNode

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv ValueNode
bindExpression(FromList
The FROM list for the query this expression is in, for binding columns.
fromList
,
SubqueryList
The subquery list being built as we find SubqueryNodes
subqueryList
,
List<AggregateNode>
The aggregate list being built as we find AggregateNodes
aggregates
)

Overrides org.apache.derby.impl.sql.compile.WindowFunctionNode.bindExpression.

ValueNode override.

public void
printSubNodes(int
The depth of this node in the tree
depth
)

Overrides org.apache.derby.impl.sql.compile.WindowFunctionNode.printSubNodes.

QueryTreeNode override.

Inherited from org.apache.derby.impl.sql.compile.WindowFunctionNode:
constantExpressiongetGeneratedRefgetNewNullResultExpressiongetWindowisConstantExpressionreplaceCallsWithColumnReferencessetWindow

Field Detail

aggregateFunctionback to summary
private AggregateNode aggregateFunction

Constructor Detail

AggregateWindowFunctionNodeback to summary
pack-priv AggregateWindowFunctionNode(WindowNode w, AggregateNode agg, ContextManager cm) throws StandardException

Method Detail

bindExpressionback to summary
pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException

Overrides org.apache.derby.impl.sql.compile.WindowFunctionNode.bindExpression.

ValueNode override.

Parameters
fromList:FromList

Doc from org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

The FROM list for the query this expression is in, for binding columns.

subqueryList:SubqueryList

Doc from org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

The subquery list being built as we find SubqueryNodes

aggregates:List<AggregateNode>

Doc from org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

The aggregate list being built as we find AggregateNodes

Returns:ValueNode

Doc from org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

The new top of the expression tree.

Annotations
@Override
Exceptions
StandardException:

Doc from org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

Thrown on error

See Also
ValueNode#bindExpression
printSubNodesback to summary
public void printSubNodes(int depth)

Overrides org.apache.derby.impl.sql.compile.WindowFunctionNode.printSubNodes.

QueryTreeNode override. Prints the sub-nodes of this object.

Parameters
depth:int

The depth of this node in the tree

Annotations
@Override
See Also
QueryTreeNode#printSubNodes