Uses of Interface
org.hibernate.sql.ast.tree.from.TableReference
Packages that use TableReference
Package
Description
Internal package containing dialect-specific extensions of
AbstractSqlAstTranslator
.Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
Package defining support for creating and consuming a SQL AST.
Support for common table expressions (CTE) in a SQL tree.
AST nodes representing expressions in a SQL tree.
AST nodes representing root tables and joins in a SQL tree.
SQL AST extensions for model mutations.
-
Uses of TableReference in org.hibernate.dialect.sql.ast
Methods in org.hibernate.dialect.sql.ast with parameters of type TableReferenceModifier and TypeMethodDescriptionprotected void
CockroachSqlAstTranslator.renderTableReferenceIdentificationVariable
(TableReference tableReference) protected void
PostgreSQLSqlAstTranslator.renderTableReferenceIdentificationVariable
(TableReference tableReference) -
Uses of TableReference in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return TableReferenceModifier and TypeMethodDescriptiondefault TableReference
EntityMappingType.createPrimaryTableReference
(SqlAliasBase sqlAliasBase, SqlAstCreationState creationState) Methods in org.hibernate.metamodel.mapping with parameters of type TableReferenceModifier and TypeMethodDescription<K> DomainResult
<K> TableDetails.KeyDetails.createDomainResult
(NavigablePath navigablePath, TableReference tableReference, String resultVariable, DomainResultCreationState creationState) Create a DomainResult for selecting and retrieving the key.SoftDeleteMapping.createNonDeletedRestriction
(TableReference tableReference) Create a SQL AST Predicate for restricting matches to non-deleted rowsSoftDeleteMapping.createNonDeletedRestriction
(TableReference tableReference, SqlExpressionResolver expressionResolver) Create a SQL AST Predicate for restricting matches to non-deleted rowsSoftDeleteMapping.createSoftDeleteAssignment
(TableReference tableReference) Create a SQL AST Assignment for setting the soft-delete column to its indicated "deleted" valuedefault TableReferenceJoin
EntityMappingType.createTableReferenceJoin
(String joinTableExpression, SqlAliasBase sqlAliasBase, TableReference lhs, SqlAstCreationState creationState) ForeignKeyDescriptor.generateJoinPredicate
(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState) -
Uses of TableReference in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return TableReferenceModifier and TypeMethodDescriptionAbstractEntityPersister.createPrimaryTableReference
(SqlAliasBase sqlAliasBase, SqlAstCreationState sqlAstCreationState) Methods in org.hibernate.persister.entity with parameters of type TableReferenceModifier and TypeMethodDescriptionAbstractEntityPersister.createTableReferenceJoin
(String joinTableExpression, SqlAliasBase sqlAliasBase, TableReference lhs, SqlAstCreationState creationState) protected Predicate
AbstractEntityPersister.generateJoinPredicate
(TableReference rootTableReference, TableReference joinedTableReference, String[] pkColumnNames, String[] fkColumnNames, SqlAstCreationState creationState) protected TableReferenceJoin
AbstractEntityPersister.generateTableReferenceJoin
(TableReference lhs, String joinTableExpression, SqlAliasBase sqlAliasBase, boolean innerJoin, String[] targetColumns, SqlAstCreationState creationState) -
Uses of TableReference in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation with parameters of type TableReferenceModifier and TypeMethodDescription<K> DomainResult
<K> EntityTableMapping.CompositeKeyMapping.createDomainResult
(NavigablePath navigablePath, TableReference tableReference, String resultVariable, DomainResultCreationState creationState) <K> DomainResult
<K> EntityTableMapping.SimpleKeyMapping.createDomainResult
(NavigablePath navigablePath, TableReference tableReference, String resultVariable, DomainResultCreationState creationState) protected SqlSelection
EntityTableMapping.AbstractKeyMapping.resolveSqlSelection
(TableReference tableReference, EntityTableMapping.KeyColumn keyColumn, SqlAstCreationState creationState) -
Uses of TableReference in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi that return types with arguments of type TableReferenceModifier and TypeMethodDescriptionstatic Map
<String, TableReference> AliasCollector.getTableReferences
(SqlAstNode node) Methods in org.hibernate.sql.ast.spi with parameters of type TableReferenceModifier and TypeMethodDescriptionSqlExpressionResolver.createColumnReferenceKey
(TableReference tableReference, String columnExpression, JdbcMapping jdbcMapping) Helper for generating an expression key for a column reference.SqlExpressionResolver.createColumnReferenceKey
(TableReference tableReference, SelectableMapping selectable) Convenience form for creating a key from TableReference and SelectableMappingSqlExpressionResolver.createColumnReferenceKey
(TableReference tableReference, SelectablePath selectablePath, JdbcMapping jdbcMapping) SqlExpressionResolver.createDiscriminatorColumnReferenceKey
(TableReference tableReference, EntityDiscriminatorMapping discriminatorMapping) Convenience form for creating a key from TableReference and EntityDiscriminatorMappingprotected void
AbstractSqlAstTranslator.renderTableReferenceIdentificationVariable
(TableReference tableReference) default Expression
SqlExpressionResolver.resolveSqlExpression
(TableReference tableReference, SelectableMapping selectableMapping) -
Uses of TableReference in org.hibernate.sql.ast.tree.cte
Methods in org.hibernate.sql.ast.tree.cte that return TableReferenceModifier and TypeMethodDescriptionCteTableGroup.getPrimaryTableReference()
CteTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) -
Uses of TableReference in org.hibernate.sql.ast.tree.expression
Constructors in org.hibernate.sql.ast.tree.expression with parameters of type TableReferenceModifierConstructorDescriptionColumnReference
(TableReference tableReference, String columnExpression, boolean isFormula, @Nullable String customReadExpression, JdbcMapping jdbcMapping) ColumnReference
(TableReference tableReference, String mapping, JdbcMapping jdbcMapping) ColumnReference
(TableReference tableReference, SelectableMapping selectableMapping) -
Uses of TableReference in org.hibernate.sql.ast.tree.from
Classes in org.hibernate.sql.ast.tree.from that implement TableReferenceModifier and TypeClassDescriptionclass
class
class
A table reference for functions that produce embeddable typed results.class
A table reference for a table valued function.class
Represents a reference to a "named" table in a query's from clause.class
A table reference for a query part.class
class
Methods in org.hibernate.sql.ast.tree.from that return TableReferenceModifier and TypeMethodDescriptiondefault TableReference
TableGroup.findTableReference
(String identificationVariable) protected abstract TableReference
AbstractColumnReferenceQualifier.getPrimaryTableReference()
CorrelatedTableGroup.getPrimaryTableReference()
DelegatingTableGroup.getPrimaryTableReference()
EmbeddableFunctionTableGroup.getPrimaryTableReference()
MutatingTableReferenceGroupWrapper.getPrimaryTableReference()
OneToManyTableGroup.getPrimaryTableReference()
StandardTableGroup.getPrimaryTableReference()
StandardVirtualTableGroup.getPrimaryTableReference()
TableGroup.getPrimaryTableReference()
AbstractColumnReferenceQualifier.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) CollectionTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) default TableReference
ColumnReferenceQualifier.getTableReference
(String tableExpression) default TableReference
ColumnReferenceQualifier.getTableReference
(NavigablePath navigablePath, String tableExpression) ColumnReferenceQualifier.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) Returns the table reference for the table expression, or null if not found.default TableReference
ColumnReferenceQualifier.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) CorrelatedPluralTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) CorrelatedPluralTableGroup.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) CorrelatedTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) CorrelatedTableGroup.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) DelegatingTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) DelegatingTableGroup.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) DerivedTableReference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) EmbeddableFunctionTableReference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) FunctionTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) LazyTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) LazyTableGroup.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) MappedByTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) MappedByTableGroup.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) MutatingTableReferenceGroupWrapper.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) NamedTableReference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) OneToManyTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) QueryPartTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) StandardTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) StandardVirtualTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) StandardVirtualTableGroup.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) TableReference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) UnionTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) UnionTableReference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) ValuesTableGroup.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) protected TableReference
StandardTableGroup.potentiallyCreateTableReference
(String tableExpression) default TableReference
ColumnReferenceQualifier.resolveTableReference
(String tableExpression) default TableReference
ColumnReferenceQualifier.resolveTableReference
(NavigablePath navigablePath, String tableExpression) LikeColumnReferenceQualifier.getTableReference(NavigablePath, String, boolean)
, but will throw an exception if no table reference can be found, even after resolving possible table reference joins.default TableReference
ColumnReferenceQualifier.resolveTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression) DerivedTableReference.resolveTableReference
(NavigablePath navigablePath, String tableExpression) DerivedTableReference.resolveTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression) EmbeddableFunctionTableReference.resolveTableReference
(NavigablePath navigablePath, String tableExpression) MappedByTableGroup.resolveTableReference
(NavigablePath navigablePath, String tableExpression) MappedByTableGroup.resolveTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression) NamedTableReference.resolveTableReference
(NavigablePath navigablePath, String tableExpression) TableReference.resolveTableReference
(NavigablePath navigablePath, String tableExpression) UnionTableReference.resolveTableReference
(NavigablePath navigablePath, String tableExpression) Methods in org.hibernate.sql.ast.tree.from with parameters of type TableReferenceModifier and TypeMethodDescriptionTableReferenceJoinPredicateProducer.producePredicate
(TableReference lhs, TableReference rhs, SqlAstJoinType sqlAstJoinType) Method parameters in org.hibernate.sql.ast.tree.from with type arguments of type TableReferenceModifier and TypeMethodDescription<T> T
FromClause.queryTableReferences
(Function<TableReference, T> action) void
FromClause.visitTableReferences
(Consumer<TableReference> action) Constructors in org.hibernate.sql.ast.tree.from with parameters of type TableReferenceModifierConstructorDescriptionCollectionTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, PluralAttributeMapping tableGroupProducer, boolean fetched, String sourceAlias, TableReference primaryTableReference, boolean realTableGroup, SqlAliasBase sqlAliasBase, Predicate<String> tableReferenceJoinNameChecker, BiFunction<String, TableGroup, TableReferenceJoin> tableReferenceJoinCreator, SessionFactoryImplementor sessionFactory) StandardTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, TableGroupProducer tableGroupProducer, boolean fetched, String sourceAlias, TableReference primaryTableReference, boolean realTableGroup, SqlAliasBase sqlAliasBase, Predicate<String> tableReferenceJoinNameChecker, BiFunction<String, TableGroup, TableReferenceJoin> tableReferenceJoinCreator, SessionFactoryImplementor sessionFactory) StandardTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, TableGroupProducer tableGroupProducer, String sourceAlias, TableReference primaryTableReference, boolean realTableGroup, SqlAliasBase sqlAliasBase, Predicate<String> tableReferenceJoinNameChecker, BiFunction<String, TableGroup, TableReferenceJoin> tableReferenceJoinCreator, SessionFactoryImplementor sessionFactory) StandardTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, TableGroupProducer tableGroupProducer, String sourceAlias, TableReference primaryTableReference, SqlAliasBase sqlAliasBase, SessionFactoryImplementor sessionFactory) -
Uses of TableReference in org.hibernate.sql.model.ast
Classes in org.hibernate.sql.model.ast that implement TableReferenceModifier and TypeClassDescriptionclass
Specialized TableReference for model mutation operationsMethods in org.hibernate.sql.model.ast that return TableReferenceModifier and TypeMethodDescriptionMutatingTableReference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) MutatingTableReference.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) MutatingTableReference.resolveTableReference
(NavigablePath navigablePath, String tableExpression) MutatingTableReference.resolveTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression) Constructors in org.hibernate.sql.model.ast with parameters of type TableReferenceModifierConstructorDescriptionColumnValueParameterList
(TableReference tableReference, ParameterUsage parameterUsage, int jdbcTypeCount)