Top Description Fields Constructors Methods
org.hibernate.hql.internal.ast.tree

public abstract Class SelectExpressionList

extends HqlSqlWalkerNode
Class Inheritance
Known Direct Subclasses
org.hibernate.hql.internal.ast.tree.ConstructorNode, org.hibernate.hql.internal.ast.tree.SelectClause
Imports
java.util.ArrayList, .List, org.hibernate.hql.internal.antlr.SqlTokenTypes, org.hibernate.hql.internal.ast.util.ASTPrinter, .TokenPrinters, antlr.collections.AST

Common behavior - a node that contains a list of select expressions.
Author
josh

Field Summary

Modifier and TypeField and Description
private List<Integer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SelectExpression[]

Returns:

an array of SelectExpressions gathered from the children of the given parent AST node.
collectSelectExpressions
()

Returns an array of SelectExpressions gathered from the children of the given parent AST node.

protected abstract AST

Returns:

the first select expression node that should be considered when building the array of select expressions
getFirstSelectExpression
()

Returns the first select expression node that should be considered when building the array of select expressions.

public List<Integer>

Returns:

a list of positions representing the mapping from order of occurence to position
getParameterPositions
()

The position of parameters within the list of select expressions of this clause

public int

Returns:

The number of parameters in this select clause.
getTotalParameterCount
()

The total number of parameter projections of this expression.

Inherited from org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode:
getAliasGeneratorgetASTFactorygetSessionFactoryHelpergetWalkerinitialize

Field Detail

parameterPositionsback to summary
private List<Integer> parameterPositions

Constructor Detail

SelectExpressionListback to summary
public SelectExpressionList()

Method Detail

collectSelectExpressionsback to summary
public SelectExpression[] collectSelectExpressions()

Returns an array of SelectExpressions gathered from the children of the given parent AST node.

Returns:SelectExpression[]

an array of SelectExpressions gathered from the children of the given parent AST node.

getFirstSelectExpressionback to summary
protected abstract AST getFirstSelectExpression()

Returns the first select expression node that should be considered when building the array of select expressions.

Returns:AST

the first select expression node that should be considered when building the array of select expressions

getParameterPositionsback to summary
public List<Integer> getParameterPositions()

The position of parameters within the list of select expressions of this clause

Returns:List<Integer>

a list of positions representing the mapping from order of occurence to position

getTotalParameterCountback to summary
public int getTotalParameterCount()

The total number of parameter projections of this expression.

Returns:int

The number of parameters in this select clause.