Package org.hibernate.query.results
Class FromClauseAccessImpl
- java.lang.Object
-
- org.hibernate.query.results.FromClauseAccessImpl
-
- All Implemented Interfaces:
FromClauseAccess
public class FromClauseAccessImpl extends Object implements FromClauseAccess
-
-
Constructor Summary
Constructors Constructor Description FromClauseAccessImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableGroup
findByAlias(String alias)
TableGroup
findTableGroup(NavigablePath navigablePath)
Find a TableGroup by the NavigablePath it is registered under, and if not found on the current from clause level, ask the parent.TableGroup
findTableGroupOnCurrentFromClause(NavigablePath navigablePath)
Find a TableGroup in this from clause without consulting parents by the NavigablePath it is registered under.TableGroup
getByAlias(String alias)
void
registerTableGroup(NavigablePath navigablePath, TableGroup tableGroup)
Register a TableGroup under the given `navigablePath`.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.spi.FromClauseAccess
findTableGroupForGetOrCreate, findTableGroupOnParents, getTableGroup, resolveTableGroup
-
-
-
-
Method Detail
-
getByAlias
public TableGroup getByAlias(String alias)
-
findByAlias
public TableGroup findByAlias(String alias)
-
findTableGroupOnCurrentFromClause
public TableGroup findTableGroupOnCurrentFromClause(NavigablePath navigablePath)
Description copied from interface:FromClauseAccess
Find a TableGroup in this from clause without consulting parents by the NavigablePath it is registered under. Returnsnull
if no TableGroup is registered under that NavigablePath- Specified by:
findTableGroupOnCurrentFromClause
in interfaceFromClauseAccess
-
findTableGroup
public TableGroup findTableGroup(NavigablePath navigablePath)
Description copied from interface:FromClauseAccess
Find a TableGroup by the NavigablePath it is registered under, and if not found on the current from clause level, ask the parent. Returnsnull
if no TableGroup is registered under that NavigablePath- Specified by:
findTableGroup
in interfaceFromClauseAccess
-
registerTableGroup
public void registerTableGroup(NavigablePath navigablePath, TableGroup tableGroup)
Description copied from interface:FromClauseAccess
Register a TableGroup under the given `navigablePath`. Logs a message if this registration over-writes an existing one.- Specified by:
registerTableGroup
in interfaceFromClauseAccess
-
-