Top Description Methods
org.hibernate.sql.ast.tree.from

public Interface RootTableGroupProducer

extends TableGroupProducer
Known Direct Subinterfaces
org.hibernate.loader.ast.spi.Loadable, org.hibernate.persister.entity.EntityPersister
Imports
java.util.function.Consumer, .Supplier, org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.spi.SqlAliasBase, .SqlAliasBaseGenerator, .SqlAstCreationState, org.hibernate.sql.ast.tree.predicate.Predicate

Contract for things that can produce the TableGroup that is a root of a from-clause
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public TableGroup
createRootTableGroup(boolean
Whether inner joins can be used when creating table-references within this group
canUseInnerJoins
,
NavigablePath
The overall NavigablePath for the root
navigablePath
,
String
The alias, if one, explicitly provided by the application for this root
explicitSourceAlias
,
SqlAliasBase
A specific SqlAliasBase to use. May be null indicating one should be created using the SqlAliasBaseGenerator from creationState
explicitSqlAliasBase
,
Supplier<Consumer<Predicate>>
Collector for additional predicates associated with this producer
additionalPredicateCollectorAccess
,
SqlAstCreationState
The creation state
creationState
)

Create a root TableGroup as defined by this producer

Inherited from org.hibernate.sql.ast.tree.from.TableGroupProducer:
containsTableReferencegetSqlAliasStem

Method Detail

createRootTableGroupback to summary
public TableGroup createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState)

Create a root TableGroup as defined by this producer

Parameters
canUseInnerJoins:boolean

Whether inner joins can be used when creating table-references within this group

navigablePath:NavigablePath

The overall NavigablePath for the root

explicitSourceAlias:String

The alias, if one, explicitly provided by the application for this root

explicitSqlAliasBase:SqlAliasBase

A specific SqlAliasBase to use. May be null indicating one should be created using the SqlAliasBaseGenerator from creationState

additionalPredicateCollectorAccess:Supplier<Consumer<Predicate>>

Collector for additional predicates associated with this producer

creationState:SqlAstCreationState

The creation state