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

public final Class RowNumberFunctionNode

extends WindowFunctionNode
Class Inheritance
Imports
java.sql.Types, java.util.List, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.services.context.ContextManager, org.apache.derby.iapi.types.TypeId

Class that represents a call to the ROW_NUMBER() window function.

Constructor Summary

AccessConstructor and Description
pack-priv
RowNumberFunctionNode(ValueNode
operand (null for now)
op
,
WindowNode
The window definition or reference
w
,
ContextManager cm)

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.

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

Constructor Detail

RowNumberFunctionNodeback to summary
pack-priv RowNumberFunctionNode(ValueNode op, WindowNode w, ContextManager cm) throws StandardException
Parameters
op:ValueNode

operand (null for now)

w:WindowNode

The window definition or reference

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