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

public abstract Class AbstractMapComponentNode

extends FromReferenceNode
implements HqlSqlTokenTypes
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.antlr.HqlSqlTokenTypes
Known Direct Subclasses
org.hibernate.hql.ast.tree.MapEntryNode, org.hibernate.hql.ast.tree.MapKeyNode, org.hibernate.hql.ast.tree.MapValueNode
Imports
java.util.Map, antlr.SemanticException, antlr.collections.AST, org.hibernate.hql.antlr.HqlSqlTokenTypes, org.hibernate.hql.ast.util.ColumnHelper, org.hibernate.type.CollectionType, .Type, org.hibernate.persister.collection.QueryableCollection, org.hibernate.util.StringHelper

TODO : javadoc
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private String[]
Inherited from org.hibernate.hql.ast.tree.FromReferenceNode:
ROOT_LEVEL

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected SemanticException
protected abstract String
public String[]
public FromReferenceNode
private void
initText(String[] columns)

protected SemanticException
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
protected abstract String[]
resolveColumns(QueryableCollection collectionPersister)

public void
resolveIndex(AST parent)

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

Does the work of resolving an an index [].
protected abstract Type
resolveType(QueryableCollection collectionPersister)

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

Field Detail

columnsback to summary
private String[] columns

Constructor Detail

AbstractMapComponentNodeback to summary
public AbstractMapComponentNode()

Method Detail

attemptedDereferenceback to summary
protected SemanticException attemptedDereference()
expressionDescriptionback to summary
protected abstract String expressionDescription()
getColumnsback to summary
public String[] getColumns()
getMapReferenceback to summary
public FromReferenceNode getMapReference()
initTextback to summary
private void initText(String[] columns)
nonMapback to summary
protected SemanticException nonMap()
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

resolveColumnsback to summary
protected abstract String[] resolveColumns(QueryableCollection collectionPersister)
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 [].

resolveTypeback to summary
protected abstract Type resolveType(QueryableCollection collectionPersister)
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.