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 TableGroupfindByAlias(String alias)TableGroupfindTableGroup(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.TableGroupfindTableGroupOnCurrentFromClause(NavigablePath navigablePath)Find a TableGroup in this from clause without consulting parents by the NavigablePath it is registered under.TableGroupgetByAlias(String alias)voidregisterTableGroup(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, 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:FromClauseAccessFind a TableGroup in this from clause without consulting parents by the NavigablePath it is registered under. Returnsnullif no TableGroup is registered under that NavigablePath- Specified by:
findTableGroupOnCurrentFromClausein interfaceFromClauseAccess
-
findTableGroup
public TableGroup findTableGroup(NavigablePath navigablePath)
Description copied from interface:FromClauseAccessFind a TableGroup by the NavigablePath it is registered under, and if not found on the current from clause level, ask the parent. Returnsnullif no TableGroup is registered under that NavigablePath- Specified by:
findTableGroupin interfaceFromClauseAccess
-
registerTableGroup
public void registerTableGroup(NavigablePath navigablePath, TableGroup tableGroup)
Description copied from interface:FromClauseAccessRegister a TableGroup under the given `navigablePath`. Logs a message if this registration over-writes an existing one.- Specified by:
registerTableGroupin interfaceFromClauseAccess
-
-