Top Fields Constructors Methods
org.hibernate.query.results

public Class FromClauseAccessImpl

extends Object
implements FromClauseAccess
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.ast.spi.FromClauseAccess
Imports
java.util.HashMap, .Map, org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.spi.FromClauseAccess, org.hibernate.sql.ast.tree.from.TableGroup

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Map<NavigablePath, TableGroup>
private Map<String, TableGroup>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TableGroup
public TableGroup
findTableGroup(NavigablePath navigablePath)

Implements org.hibernate.sql.ast.spi.FromClauseAccess.findTableGroup.

Find a TableGroup by the NavigablePath it is registered under, and if not found on the current from clause level, ask the parent.
public TableGroup
findTableGroupOnCurrentFromClause(NavigablePath navigablePath)

Implements org.hibernate.sql.ast.spi.FromClauseAccess.findTableGroupOnCurrentFromClause.

Find a TableGroup in this from clause without consulting parents by the NavigablePath it is registered under.
public TableGroup
public void
registerTableGroup(NavigablePath navigablePath, TableGroup tableGroup)

Implements org.hibernate.sql.ast.spi.FromClauseAccess.registerTableGroup.

Register a TableGroup under the given `navigablePath`.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

tableGroupByPathback to summary
private Map<NavigablePath, TableGroup> tableGroupByPath
tableGroupBySqlAliasback to summary
private Map<String, TableGroup> tableGroupBySqlAlias

Constructor Detail

FromClauseAccessImplback to summary
public FromClauseAccessImpl()

Method Detail

findByAliasback to summary
public TableGroup findByAlias(String alias)
findTableGroupback to summary
public TableGroup findTableGroup(NavigablePath navigablePath)

Implements org.hibernate.sql.ast.spi.FromClauseAccess.findTableGroup.

Doc from org.hibernate.sql.ast.spi.FromClauseAccess.findTableGroup.

Find a TableGroup by the NavigablePath it is registered under, and if not found on the current from clause level, ask the parent. Returns null if no TableGroup is registered under that NavigablePath

Annotations
@Override
findTableGroupOnCurrentFromClauseback to summary
public TableGroup findTableGroupOnCurrentFromClause(NavigablePath navigablePath)

Implements org.hibernate.sql.ast.spi.FromClauseAccess.findTableGroupOnCurrentFromClause.

Doc from org.hibernate.sql.ast.spi.FromClauseAccess.findTableGroupOnCurrentFromClause.

Find a TableGroup in this from clause without consulting parents by the NavigablePath it is registered under. Returns null if no TableGroup is registered under that NavigablePath

Annotations
@Override
getByAliasback to summary
public TableGroup getByAlias(String alias)
registerTableGroupback to summary
public void registerTableGroup(NavigablePath navigablePath, TableGroup tableGroup)

Implements org.hibernate.sql.ast.spi.FromClauseAccess.registerTableGroup.

Doc from org.hibernate.sql.ast.spi.FromClauseAccess.registerTableGroup.

Register a TableGroup under the given `navigablePath`. Logs a message if this registration over-writes an existing one.

Annotations
@Override