Class SimpleFromClauseAccessImpl

java.lang.Object
org.hibernate.sql.ast.spi.SimpleFromClauseAccessImpl
All Implemented Interfaces:
FromClauseAccess
Direct Known Subclasses:
FromClauseIndex

public class SimpleFromClauseAccessImpl extends Object implements FromClauseAccess
Simple implementation of FromClauseAccess
Author:
Steve Ebersole
  • Field Details

  • Constructor Details

    • SimpleFromClauseAccessImpl

      public SimpleFromClauseAccessImpl()
    • SimpleFromClauseAccessImpl

      public SimpleFromClauseAccessImpl(FromClauseAccess parent)
  • Method Details

    • 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. Returns null if no TableGroup is registered under that NavigablePath
      Specified by:
      findTableGroupOnCurrentFromClause in interface FromClauseAccess
    • 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. Returns null if no TableGroup is registered under that NavigablePath
      Specified by:
      findTableGroup in interface FromClauseAccess
    • findTableGroupForGetOrCreate

      public TableGroup findTableGroupForGetOrCreate(NavigablePath navigablePath)
      Description copied from interface: FromClauseAccess
      Find the TableGroup by the NavigablePath for the purpose of creating a new TableGroup if none can be found. Returns null if no TableGroup or parent table group is registered under that NavigablePath
      Specified by:
      findTableGroupForGetOrCreate in interface FromClauseAccess
    • findTableGroupForGetOrCreate

      public TableGroup findTableGroupForGetOrCreate(NavigablePath navigablePath, boolean allowLeftJoins)
    • 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 interface FromClauseAccess