Top Description Fields Constructors Methods
org.hibernate.query.sqm.sql

public Class FromClauseIndex

extends SimpleFromClauseAccessImpl
Class Inheritance
Imports
java.util.HashMap, .Map, org.hibernate.spi.NavigablePath, org.hibernate.query.sqm.tree.domain.SqmPath, org.hibernate.query.sqm.tree.from.SqmAttributeJoin, .SqmFrom, org.hibernate.sql.ast.spi.SimpleFromClauseAccessImpl, org.hibernate.sql.ast.tree.from.TableGroup, org.jboss.logging.Logger

An index of various FROM CLAUSE resolutions.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Map<String, SqmAttributeJoin<O, T>>
fetchesByPath

Holds *explicitly* fetched joins

private static final Logger
private final Map<String, TableGroup>
Inherited from org.hibernate.sql.ast.spi.SimpleFromClauseAccessImpl:
parenttableGroupMap

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SqmAttributeJoin<O, T>
public TableGroup
public boolean
isResolved(SqmFrom<O, T> fromElement)

public void
register(SqmPath<?> sqmPath, TableGroup tableGroup)

public void
register(SqmPath<?> sqmPath, TableGroup tableGroup, NavigablePath identifierForTableGroup)

private void
registerJoinFetch(SqmAttributeJoin<O, T> sqmJoin, NavigablePath identifierForTableGroup)

Inherited from org.hibernate.sql.ast.spi.SimpleFromClauseAccessImpl:
findTableGroupfindTableGroupForGetOrCreatefindTableGroupOnCurrentFromClauseregisterTableGroup

Field Detail

fetchesByPathback to summary
private Map<String, SqmAttributeJoin<O, T>> fetchesByPath

Holds *explicitly* fetched joins

logback to summary
private static final Logger log
tableGroupByAliasXrefback to summary
private final Map<String, TableGroup> tableGroupByAliasXref

Constructor Detail

FromClauseIndexback to summary
public FromClauseIndex(FromClauseIndex parent)

Method Detail

findFetchedJoinByPathback to summary
public SqmAttributeJoin<O, T> findFetchedJoinByPath(NavigablePath path)
findTableGroupback to summary
public TableGroup findTableGroup(String alias)
isResolvedback to summary
public boolean isResolved(SqmFrom<O, T> fromElement)
registerback to summary
public void register(SqmPath<?> sqmPath, TableGroup tableGroup)
registerback to summary
public void register(SqmPath<?> sqmPath, TableGroup tableGroup, NavigablePath identifierForTableGroup)
registerJoinFetchback to summary
private void registerJoinFetch(SqmAttributeJoin<O, T> sqmJoin, NavigablePath identifierForTableGroup)