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

public Class SelectExpressionImpl

extends FromReferenceNode
implements SelectExpression
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.ast.tree.SelectExpression
Imports
antlr.SemanticException, antlr.collections.AST

A select expression that was generated by a FROM element.
Author
josh

Field Summary

Inherited from org.hibernate.hql.ast.tree.FromReferenceNode:
ROOT_LEVEL

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent)

Implements org.hibernate.hql.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot
public void
resolveIndex(AST parent)

Implements org.hibernate.hql.ast.tree.ResolvableNode.resolveIndex.

Does the work of resolving an an index [].
public void
setScalarColumnText(int
The index of the select expression in the projection list.
i
)

Implements org.hibernate.hql.ast.tree.SelectExpression.setScalarColumnText.

Appends AST nodes that represent the columns after the current AST node.
Inherited from org.hibernate.hql.ast.tree.FromReferenceNode:
getDisplayTextgetFromElementgetImpliedJoingetPathisResolvedisReturnableEntityprepareForDotrecursiveResolverecursiveResolveresolveresolveresolveFirstChildresolveInFunctionCallsetFromElementsetResolved

Constructor Detail

SelectExpressionImplback to summary
public SelectExpressionImpl()

Method Detail

resolveback to summary
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent) throws SemanticException

Implements org.hibernate.hql.ast.tree.ResolvableNode.resolve.

Doc from org.hibernate.hql.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot

resolveIndexback to summary
public void resolveIndex(AST parent) throws SemanticException

Implements org.hibernate.hql.ast.tree.ResolvableNode.resolveIndex.

Doc from org.hibernate.hql.ast.tree.ResolvableNode.resolveIndex.

Does the work of resolving an an index [].

setScalarColumnTextback to summary
public void setScalarColumnText(int i) throws SemanticException

Implements org.hibernate.hql.ast.tree.SelectExpression.setScalarColumnText.

Doc from org.hibernate.hql.ast.tree.SelectExpression.setScalarColumnText.

Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')

Parameters
i:int

The index of the select expression in the projection list.