Uses of Interface
org.hibernate.sql.ast.tree.predicate.Predicate
Package
Description
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Contains implementations of
SqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.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 collections.
This package abstracts persistence mechanisms for entities.
Built-in implementation of the SPI for integrating entity and collection persisters.
An SPI for defining, registering, and rendering functions in HQL.
Support for multi-table SQM mutation (insert, update, delete) operations using
a table to temporarily hold the matching ids.
Package for the translation of SQM into SQL AST
Package defining support for creating and consuming a SQL AST.
Package defining the SQL AST.
AST nodes representing
delete
statements in a SQL tree.AST nodes representing expressions in a SQL tree.
AST nodes representing root tables and joins in a SQL tree.
AST nodes representing
insert
statements in a SQL tree.AST nodes representing logical predicates in a SQL tree.
AST nodes representing
select
statements in a SQL tree.AST nodes representing
update
statements in a SQL tree.-
Uses of Predicate in org.hibernate.boot.model.internal
Modifier and TypeMethodDescriptionstatic Predicate
SoftDeleteHelper.createNonSoftDeletedRestriction
(TableReference tableReference, SoftDeleteMapping softDeleteMapping) Create a SQL AST Predicate for restricting matches to non-deleted rowsstatic Predicate
SoftDeleteHelper.createNonSoftDeletedRestriction
(TableReference tableReference, SoftDeleteMapping softDeleteMapping, SqlExpressionResolver expressionResolver) Create a SQL AST Predicate for restricting matches to non-deleted rows -
Uses of Predicate in org.hibernate.dialect
Modifier and TypeMethodDescriptionprotected void
OracleSqlAstTranslator.renderMergeUpdateClause
(List<Assignment> assignments, Predicate wherePredicate) -
Uses of Predicate in org.hibernate.dialect.function
Modifier and TypeMethodDescriptionvoid
AvgFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
CountFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
EveryAnyEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
HypotheticalSetFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
HypotheticalSetFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
InverseDistributionFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
InverseDistributionFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
ListaggFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
ListaggFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
ListaggGroupConcatEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
ListaggGroupConcatEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
ListaggStringAggEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
ListaggStringAggEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
MinMaxCaseEveryAnyEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
ModeStatsModeEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
PostgreSQLMinMaxFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
SQLServerEveryAnyEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) -
Uses of Predicate in org.hibernate.dialect.function.array
Modifier and TypeMethodDescriptionvoid
ArrayAggFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
ArrayAggFunction.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
OracleArrayAggEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
OracleArrayAggEmulation.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) -
Uses of Predicate in org.hibernate.internal
Modifier and TypeMethodDescriptionstatic void
FilterHelper.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, Restrictable restrictable, TableGroup rootTableGroup, boolean useIdentificationVariable, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationState astCreationState) void
FilterHelper.applyEnabledFilters
(Consumer<Predicate> predicateConsumer, FilterAliasGenerator aliasGenerator, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, TableGroup tableGroup, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.loader.ast.internal
Modifier and TypeMethodDescriptionvoid
LoaderSqlAstCreationState.applyPredicate
(Predicate predicate) Modifier and TypeMethodDescriptionprotected abstract void
AbstractNaturalIdLoader.applyNaturalIdRestriction
(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter, JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session) Apply restriction necessary to match the given natural-id value.protected void
CompoundNaturalIdLoader.applyNaturalIdRestriction
(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter, JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session) protected void
SimpleNaturalIdLoader.applyNaturalIdRestriction
(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter, JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session) -
Uses of Predicate in org.hibernate.metamodel.internal
Modifier and TypeMethodDescriptionAbstractCompositeIdentifierMapping.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.metamodel.mapping
Modifier and TypeMethodDescriptionForeignKeyDescriptor.generateJoinPredicate
(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlAstCreationState creationState) ForeignKeyDescriptor.generateJoinPredicate
(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState) Modifier and TypeMethodDescriptionvoid
PluralAttributeMapping.PredicateConsumer.applyPredicate
(Predicate predicate) default boolean
DiscriminatedAssociationModelPart.isSimpleJoinPredicate
(Predicate predicate) boolean
ForeignKeyDescriptor.isSimpleJoinPredicate
(Predicate predicate) Modifier and TypeMethodDescriptiondefault void
PluralAttributeMapping.applyBaseManyToManyRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) default void
EntityMappingType.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) default void
PluralAttributeMapping.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
Restrictable.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Applies the base set of restrictions.default void
Restrictable.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Deprecated, for removal: This API element is subject to removal in a future version.void
Discriminable.applyDiscriminator
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState) Apply the discriminator as a predicate via thepredicateConsumer
default void
EntityMappingType.applyDiscriminator
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState) default void
EntityMappingType.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) void
FilterRestrictable.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) Applies just theFilter
values enabled for the associated entitydefault void
FilterRestrictable.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, SqlAstCreationState creationState) Deprecated, for removal: This API element is subject to removal in a future version.default void
PluralAttributeMapping.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) default void
EntityMappingType.applyWhereRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) default void
PluralAttributeMapping.applyWhereRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) void
WhereRestrictable.applyWhereRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) Apply theWhere
restrictionsdefault TableGroup
EntityMappingType.createRootTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.metamodel.mapping.internal
Modifier and TypeMethodDescriptionEmbeddedForeignKeyDescriptor.generateJoinPredicate
(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlAstCreationState creationState) EmbeddedForeignKeyDescriptor.generateJoinPredicate
(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState) SimpleForeignKeyDescriptor.generateJoinPredicate
(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlAstCreationState creationState) SimpleForeignKeyDescriptor.generateJoinPredicate
(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState) Modifier and TypeMethodDescriptionboolean
EmbeddedForeignKeyDescriptor.isSimpleJoinPredicate
(Predicate predicate) boolean
ManyToManyCollectionPart.isSimpleJoinPredicate
(Predicate predicate) boolean
OneToManyCollectionPart.isSimpleJoinPredicate
(Predicate predicate) boolean
PluralAttributeMappingImpl.isSimpleJoinPredicate
(Predicate predicate) boolean
SimpleForeignKeyDescriptor.isSimpleJoinPredicate
(Predicate predicate) boolean
ToOneAttributeMapping.isSimpleJoinPredicate
(Predicate predicate) Modifier and TypeMethodDescriptionvoid
DiscriminatedAssociationAttributeMapping.applyDiscriminator
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState) void
DiscriminatedCollectionPart.applyDiscriminator
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState) PluralAttributeMappingImpl.createRootTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState) DiscriminatedAssociationAttributeMapping.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) DiscriminatedCollectionPart.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) EmbeddedAttributeMapping.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) EmbeddedCollectionPart.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) ManyToManyCollectionPart.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) OneToManyCollectionPart.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) PluralAttributeMappingImpl.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) ToOneAttributeMapping.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.persister.collection
Modifier and TypeMethodDescriptionvoid
AbstractCollectionPersister.applyBaseManyToManyRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
CollectionPersister.applyBaseManyToManyRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractCollectionPersister.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractCollectionPersister.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractCollectionPersister.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) protected void
AbstractCollectionPersister.applyWhereFragments
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState astCreationState) protected void
OneToManyPersister.applyWhereFragments
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState astCreationState) void
AbstractCollectionPersister.applyWhereRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.persister.entity
Modifier and TypeMethodDescriptionprotected Predicate
AbstractEntityPersister.generateJoinPredicate
(TableReference rootTableReference, TableReference joinedTableReference, String[] pkColumnNames, String[] fkColumnNames, SqlAstCreationState creationState) Modifier and TypeMethodDescriptionvoid
AbstractEntityPersister.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractEntityPersister.applyDiscriminator
(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState) void
AbstractEntityPersister.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) void
AbstractEntityPersister.applyWhereRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) AbstractEntityPersister.createRootTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState) UnionSubclassEntityPersister.createRootTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase sqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.persister.internal
-
Uses of Predicate in org.hibernate.query.derived
Modifier and TypeMethodDescriptionboolean
AnonymousTupleEmbeddableValuedModelPart.isSimpleJoinPredicate
(Predicate predicate) boolean
AnonymousTupleEntityValuedModelPart.isSimpleJoinPredicate
(Predicate predicate) Modifier and TypeMethodDescriptionAnonymousTupleEmbeddableValuedModelPart.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) AnonymousTupleEntityValuedModelPart.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) -
Uses of Predicate in org.hibernate.query.sqm.function
Modifier and TypeMethodDescriptionSelfRenderingAggregateFunctionSqlAstExpression.getFilter()
SelfRenderingWindowFunctionSqlAstExpression.getFilter()
Modifier and TypeMethodDescriptiondefault void
FunctionRenderer.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> returnType, SqlAstTranslator<?> walker) default void
FunctionRenderer.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> walker) default void
FunctionRenderer.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) default void
FunctionRenderingSupport.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Deprecated, for removal: This API element is subject to removal in a future version.default void
FunctionRenderingSupport.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, SqlAstTranslator<?> walker) Deprecated, for removal: This API element is subject to removal in a future version.default void
FunctionRenderingSupport.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Deprecated, for removal: This API element is subject to removal in a future version.default void
FunctionRenderingSupport.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> walker) Deprecated, for removal: This API element is subject to removal in a future version.default void
FunctionRenderingSupport.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Deprecated, for removal: This API element is subject to removal in a future version.default void
FunctionRenderingSupport.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker) Deprecated, for removal: This API element is subject to removal in a future version.void
NamedSqmFunctionDescriptor.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
NamedSqmFunctionDescriptor.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
NamedSqmFunctionDescriptor.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> translator) void
PatternBasedSqmFunctionDescriptor.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
PatternBasedSqmFunctionDescriptor.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> returnType, SqlAstTranslator<?> walker) void
PatternBasedSqmFunctionDescriptor.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> walker) ModifierConstructorDescriptionSelfRenderingAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible) SelfRenderingAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible) Deprecated, for removal: This API element is subject to removal in a future version.SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> type, JdbcMappingContainer expressible) SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> type, JdbcMappingContainer expressible) Deprecated, for removal: This API element is subject to removal in a future version.SelfRenderingWindowFunctionSqlAstExpression
(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> type, JdbcMappingContainer expressible) SelfRenderingWindowFunctionSqlAstExpression
(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> type, JdbcMappingContainer expressible) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Predicate in org.hibernate.query.sqm.mutation.internal
Modifier and TypeMethodDescriptionMultiTableSqmMutationConverter.visitWhereClause
(SqmWhereClause whereClause) Modifier and TypeMethodDescriptionstatic QuerySpec
MatchingIdSelectionHelper.generateMatchingIdSelectQuery
(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement sqmStatement, DomainParameterXref domainParameterXref, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, SessionFactoryImplementor sessionFactory) static SelectStatement
MatchingIdSelectionHelper.generateMatchingIdSelectStatement
(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement sqmStatement, boolean queryRoot, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, DomainQueryExecutionContext executionContext, SessionFactoryImplementor sessionFactory) Modifier and TypeMethodDescriptionstatic void
SqmMutationStrategyHelper.cleanUpCollectionTables
(EntityMappingType entityDescriptor, BiFunction<TableReference, PluralAttributeMapping, Predicate> restrictionProducer, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) -
Uses of Predicate in org.hibernate.query.sqm.mutation.internal.cte
Modifier and TypeMethodDescriptionprotected Predicate
AbstractCteMutationHandler.createIdSubQueryPredicate
(List<? extends Expression> lhsExpressions, CteStatement idSelectCte, SessionFactoryImplementor factory) protected Predicate
AbstractCteMutationHandler.createIdSubQueryPredicate
(List<? extends Expression> lhsExpressions, CteStatement idSelectCte, ModelPart fkModelPart, SessionFactoryImplementor factory) -
Uses of Predicate in org.hibernate.query.sqm.mutation.internal.inline
Modifier and TypeMethodDescriptionMatchingIdRestrictionProducer.produceRestriction
(List<Expression> idExpressions, EntityMappingType entityDescriptor, int valueIndex, ModelPart valueModelPart, TableReference mutatingTableReference, Supplier<Consumer<SelectableConsumer>> columnsToMatchVisitationSupplier, ExecutionContext executionContext) Produce the restriction predicate -
Uses of Predicate in org.hibernate.query.sqm.mutation.internal.temptable
Modifier and TypeMethodDescriptionprotected Predicate
UpdateExecutionDelegate.getSuppliedPredicate()
Modifier and TypeMethodDescriptionprotected UpdateExecutionDelegate
TableBasedUpdateHandler.buildExecutionDelegate
(MultiTableSqmMutationConverter sqmConverter, TemporaryTable idTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup updatingTableGroup, Map<String, TableReference> tableReferenceByAlias, List<Assignment> assignments, Predicate suppliedPredicate, DomainQueryExecutionContext executionContext) static QuerySpec
ExecuteWithoutIdTableHelper.createIdMatchingSubQuerySpec
(NavigablePath navigablePath, TableReference rootTableReference, Predicate predicate, EntityPersister rootEntityPersister, SqlExpressionResolver sqlExpressionResolver, SessionFactoryImplementor sessionFactory) static int
ExecuteWithTemporaryTableHelper.saveMatchingIdsIntoIdTable
(MultiTableSqmMutationConverter sqmConverter, Predicate suppliedPredicate, TemporaryTable idTable, Function<SharedSessionContractImplementor, String> sessionUidAccess, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) ModifierConstructorDescriptionUpdateExecutionDelegate
(MultiTableSqmMutationConverter sqmConverter, TemporaryTable idTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup updatingTableGroup, Map<String, TableReference> tableReferenceByAlias, List<Assignment> assignments, Predicate suppliedPredicate, DomainQueryExecutionContext executionContext) -
Uses of Predicate in org.hibernate.query.sqm.produce.function.internal
Modifier and TypeMethodDescriptionvoid
PatternRenderer.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> args, Predicate filter, Boolean respectNulls, Boolean fromFirst, SqlAstTranslator<?> translator) void
PatternRenderer.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> args, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator) void
PatternRenderer.render
(SqlAppender sqlAppender, List<? extends SqlAstNode> args, Predicate filter, SqlAstTranslator<?> translator) -
Uses of Predicate in org.hibernate.query.sqm.sql
Modifier and TypeFieldDescriptionprotected Predicate
BaseSqmToSqlAstConverter.additionalRestrictions
Modifier and TypeMethodDescriptionBaseSqmToSqlAstConverter.visitHavingClause
(SqmPredicate sqmPredicate) BaseSqmToSqlAstConverter.visitInListPredicate
(SqmInListPredicate<?> predicate) BaseSqmToSqlAstConverter.visitMemberOfPredicate
(SqmMemberOfPredicate predicate) BaseSqmToSqlAstConverter.visitNestedTopLevelPredicate
(SqmPredicate predicate) FakeSqmToSqlAstConverter.visitNestedTopLevelPredicate
(SqmPredicate predicate) SqmToSqlAstConverter.visitNestedTopLevelPredicate
(SqmPredicate predicate) BaseSqmToSqlAstConverter.visitWhereClause
(SqmWhereClause whereClause) -
Uses of Predicate in org.hibernate.query.sqm.sql.internal
Modifier and TypeMethodDescriptionvoid
SqlAstQueryNodeProcessingStateImpl.applyPredicate
(Predicate predicate) void
SqlAstQueryPartProcessingStateImpl.applyPredicate
(Predicate predicate) -
Uses of Predicate in org.hibernate.sql.ast.spi
Modifier and TypeMethodDescriptionstatic Predicate
SqlAstTreeHelper.combinePredicates
(Predicate baseRestriction, Predicate incomingRestriction) protected Predicate
AbstractSqlAstTranslator.createRowMatchingPredicate
(TableGroup dmlTargetTableGroup, String lhsAlias, String rhsAlias) protected Predicate
AbstractSqlAstTranslator.determineLateralEmulationPredicate
(TableGroup tableGroup) protected Predicate
AbstractSqlAstTranslator.determineWhereClauseRestrictionWithJoinEmulation
(AbstractUpdateOrDeleteStatement statement) protected Predicate
AbstractSqlAstTranslator.determineWhereClauseRestrictionWithJoinEmulation
(AbstractUpdateOrDeleteStatement statement, String dmlTargetAlias) Modifier and TypeMethodDescriptionprotected void
AbstractSqlAstTranslator.addAdditionalWherePredicate
(Predicate predicate) void
SqlAstQueryNodeProcessingState.applyPredicate
(Predicate predicate) Apply the predicate to be used for the final statement.static Predicate
SqlAstTreeHelper.combinePredicates
(Predicate baseRestriction, Predicate incomingRestriction) protected void
AbstractSqlAstTranslator.emulateQuantifiedTupleSubQueryPredicate
(Predicate predicate, SelectStatement selectStatement, SqlTuple lhsTuple, ComparisonOperator tupleComparisonOperator) An optimized emulation for relational tuple sub-query comparisons.protected <X extends Expression>
voidAbstractSqlAstTranslator.emulateSubQueryRelationalRestrictionPredicate
(Predicate predicate, boolean negated, SelectStatement selectStatement, X lhsTuple, AbstractSqlAstTranslator.SubQueryRelationalRestrictionEmulationRenderer<X> renderer, ComparisonOperator tupleComparisonOperator) protected Expression
AbstractSqlAstTranslator.getLeftHandExpression
(Predicate predicate) protected void
AbstractSqlAstTranslator.renderMergeUpdateClause
(List<Assignment> assignments, Predicate wherePredicate) protected void
AbstractSqlAstTranslator.renderTableGroup
(TableGroup tableGroup, Predicate predicate, List<TableGroupJoin> tableGroupJoinCollector) protected final void
AbstractSqlAstTranslator.visitWhereClause
(Predicate whereClauseRestrictions) -
Uses of Predicate in org.hibernate.sql.ast.tree
ModifierConstructorDescriptionAbstractUpdateOrDeleteStatement
(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns) AbstractUpdateOrDeleteStatement
(NamedTableReference targetTable, FromClause fromClause, Predicate restriction) AbstractUpdateOrDeleteStatement
(NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns) -
Uses of Predicate in org.hibernate.sql.ast.tree.delete
ModifierConstructorDescriptionDeleteStatement
(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns) DeleteStatement
(NamedTableReference targetTable, FromClause fromClause, Predicate restriction) DeleteStatement
(NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns) DeleteStatement
(NamedTableReference targetTable, Predicate restriction) DeleteStatement
(NamedTableReference targetTable, Predicate restriction, List<ColumnReference> returningColumns) -
Uses of Predicate in org.hibernate.sql.ast.tree.expression
Modifier and TypeMethodDescriptionAggregateFunctionExpression.getFilter()
WindowFunctionExpression.getFilter()
CaseSearchedExpression.WhenFragment.getPredicate()
Modifier and TypeMethodDescriptionvoid
CaseSearchedExpression.when
(Predicate predicate, Expression result) -
Uses of Predicate in org.hibernate.sql.ast.tree.from
Modifier and TypeMethodDescriptionTableGroupJoin.getPredicate()
TableJoin.getPredicate()
TableReferenceJoin.getPredicate()
TableReferenceJoinPredicateProducer.producePredicate
(TableReference lhs, TableReference rhs, SqlAstJoinType sqlAstJoinType) Modifier and TypeMethodDescriptionvoid
TableGroupJoin.applyPredicate
(Predicate predicate) void
TableReferenceJoin.applyPredicate
(Predicate newPredicate) boolean
TableGroupJoinProducer.isSimpleJoinPredicate
(Predicate predicate) Returns whether the given predicate is a simple join predicate for this attribute.Modifier and TypeMethodDescriptionRootTableGroupProducer.createRootTableGroup
(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState) Create a root TableGroup as defined by this producerTableGroupJoinProducer.createRootTableGroupJoin
(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) Create the "join", but return a TableGroup.ModifierConstructorDescriptionTableGroupJoin
(NavigablePath navigablePath, SqlAstJoinType joinType, TableGroup joinedGroup, Predicate predicate) TableReferenceJoin
(boolean innerJoin, NamedTableReference joinedTableBinding, Predicate predicate) ModifierConstructorDescriptionCorrelatedPluralTableGroup
(TableGroup correlatedTableGroup, SqlAliasBase sqlAliasBase, QuerySpec querySpec, Consumer<Predicate> joinPredicateConsumer, SessionFactoryImplementor sessionFactory) CorrelatedTableGroup
(TableGroup correlatedTableGroup, SqlAliasBase sqlAliasBase, QuerySpec querySpec, Consumer<Predicate> joinPredicateConsumer, SessionFactoryImplementor sessionFactory) -
Uses of Predicate in org.hibernate.sql.ast.tree.insert
ModifierConstructorDescriptionConflictClause
(@Nullable String constraintName, List<String> constraintColumnNames, List<Assignment> assignments, @Nullable Predicate predicate) -
Uses of Predicate in org.hibernate.sql.ast.tree.predicate
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Collection ofFilterPredicate.FilterFragmentPredicate
sub-predicates, each representing one enabled filter restriction.static class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionstatic Predicate
Predicate.combinePredicates
(Predicate p1, Predicate p2) NegatedPredicate.getPredicate()
PredicateCollector.getPredicate()
GroupedPredicate.getSubPredicate()
Modifier and TypeMethodDescriptionvoid
void
void
PredicateCollector.applyPredicate
(Predicate incomingPredicate) void
PredicateContainer.applyPredicate
(Predicate predicate) Apply a predicate to this containerstatic Predicate
Predicate.combinePredicates
(Predicate p1, Predicate p2) ModifierConstructorDescriptionGroupedPredicate
(Predicate subPredicate) NegatedPredicate
(Predicate predicate) PredicateCollector
(Predicate predicate) ModifierConstructorDescriptionJunction
(Junction.Nature nature, List<Predicate> predicates, JdbcMappingContainer expressionType) -
Uses of Predicate in org.hibernate.sql.ast.tree.select
Modifier and TypeMethodDescriptionQuerySpec.getHavingClauseRestrictions()
QuerySpec.getWhereClauseRestrictions()
Modifier and TypeMethodDescriptionvoid
QuerySpec.applyPredicate
(Predicate predicate) void
QuerySpec.setHavingClauseRestrictions
(Predicate havingClauseRestrictions) -
Uses of Predicate in org.hibernate.sql.ast.tree.update
ModifierConstructorDescriptionUpdateStatement
(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns) UpdateStatement
(NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction) UpdateStatement
(NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns) UpdateStatement
(NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction) UpdateStatement
(NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns) -
Uses of Predicate in org.hibernate.sql.results.graph.embeddable
Modifier and TypeMethodDescriptiondefault boolean
EmbeddableValuedFetchable.isSimpleJoinPredicate
(Predicate predicate)
Restrictable.applyBaseRestrictions(Consumer, TableGroup, boolean, Map, boolean, Set, SqlAstCreationState)
instead