Uses of Interface
org.hibernate.sql.ast.tree.predicate.Predicate
-
Packages that use Predicate Package Description org.hibernate.dialect.function Contains implementations ofSqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.loader.ast.internal org.hibernate.metamodel.internal org.hibernate.metamodel.mapping Defines the runtime mapping metamodel, which describes the mapping of the application's domain model parts (entities, attributes) to relational database objects (tables, columns).org.hibernate.metamodel.mapping.internal org.hibernate.persister.collection This package abstracts persistence mechanisms for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.internal Built-in implementation of the SPI for integrating entity and collection persisters.org.hibernate.query.derived org.hibernate.query.sqm.function Package defining support for HQL, including JPQL as a subset of HQL.org.hibernate.query.sqm.mutation.internal org.hibernate.query.sqm.mutation.internal.cte org.hibernate.query.sqm.mutation.internal.inline org.hibernate.query.sqm.mutation.internal.temptable Support for multi-table SQM mutation (insert, update, delete) operations using a table to temporarily hold the matching ids.org.hibernate.query.sqm.produce.function.internal org.hibernate.query.sqm.sql Package for the translation of SQM into SQL ASTorg.hibernate.sql.ast.spi Package defining support for creating and consuming a SQL AST.org.hibernate.sql.ast.tree Package defining the SQL AST.org.hibernate.sql.ast.tree.delete AST nodes representingdelete
statements in a SQL tree.org.hibernate.sql.ast.tree.expression AST nodes representing expressions in a SQL tree.org.hibernate.sql.ast.tree.from AST nodes representing root tables and joins in a SQL tree.org.hibernate.sql.ast.tree.predicate AST nodes representing logical predicates in a SQL tree.org.hibernate.sql.ast.tree.select AST nodes representingselect
statements in a SQL tree.org.hibernate.sql.ast.tree.update AST nodes representingupdate
statements in a SQL tree.org.hibernate.sql.results.graph.embeddable -
-
Uses of Predicate in org.hibernate.dialect.function
Methods in org.hibernate.dialect.function with parameters of type Predicate Modifier and Type Method Description void
AvgFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> translator)
void
CountFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> translator)
void
EveryAnyEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
HypotheticalSetFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
HypotheticalSetFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
InverseDistributionFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
InverseDistributionFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
ListaggFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
ListaggFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
ListaggGroupConcatEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
ListaggGroupConcatEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
ListaggStringAggEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
ListaggStringAggEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
MinMaxCaseEveryAnyEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
ModeStatsModeEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
PostgreSQLMinMaxFunction. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> translator)
void
SQLServerEveryAnyEmulation. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
-
Uses of Predicate in org.hibernate.internal
Method parameters in org.hibernate.internal with type arguments of type Predicate Modifier and Type Method Description static 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, TableGroup tableGroup, SqlAstCreationState creationState)
-
Uses of Predicate in org.hibernate.loader.ast.internal
Method parameters in org.hibernate.loader.ast.internal with type arguments of type Predicate Modifier and Type Method Description protected 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
Method parameters in org.hibernate.metamodel.internal with type arguments of type Predicate Modifier and Type Method Description TableGroup
AbstractCompositeIdentifierMapping. 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
Methods in org.hibernate.metamodel.mapping that return Predicate Modifier and Type Method Description Predicate
ForeignKeyDescriptor. generateJoinPredicate(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlAstCreationState creationState)
Predicate
ForeignKeyDescriptor. generateJoinPredicate(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState)
Methods in org.hibernate.metamodel.mapping with parameters of type Predicate Modifier and Type Method Description default boolean
DiscriminatedAssociationModelPart. isSimpleJoinPredicate(Predicate predicate)
boolean
ForeignKeyDescriptor. isSimpleJoinPredicate(Predicate predicate)
Method parameters in org.hibernate.metamodel.mapping with type arguments of type Predicate Modifier and Type Method Description default 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, Set<String> treatAsDeclarations, SqlAstCreationState creationState)
default void
PluralAttributeMapping. applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState)
void
Restrictable. applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState)
Applies the base set of restrictions.void
Discriminatable. 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, SqlAstCreationState creationState)
void
FilterRestrictable. applyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, SqlAstCreationState creationState)
Applies just theFilter
values enabled for the associated entitydefault void
PluralAttributeMapping. applyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, 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
Methods in org.hibernate.metamodel.mapping.internal that return Predicate Modifier and Type Method Description Predicate
EmbeddedForeignKeyDescriptor. generateJoinPredicate(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlAstCreationState creationState)
Predicate
EmbeddedForeignKeyDescriptor. generateJoinPredicate(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState)
Predicate
SimpleForeignKeyDescriptor. generateJoinPredicate(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlAstCreationState creationState)
Predicate
SimpleForeignKeyDescriptor. generateJoinPredicate(TableReference targetSideReference, TableReference keySideReference, SqlAstCreationState creationState)
Methods in org.hibernate.metamodel.mapping.internal with parameters of type Predicate Modifier and Type Method Description boolean
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)
Method parameters in org.hibernate.metamodel.mapping.internal with type arguments of type Predicate Modifier and Type Method Description void
DiscriminatedAssociationAttributeMapping. applyDiscriminator(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState)
void
DiscriminatedCollectionPart. applyDiscriminator(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState)
TableGroup
PluralAttributeMappingImpl. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState)
TableGroup
DiscriminatedAssociationAttributeMapping. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
TableGroup
DiscriminatedCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
TableGroup
EmbeddedAttributeMapping. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
TableGroup
EmbeddedCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
LazyTableGroup
ManyToManyCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
TableGroup
OneToManyCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
TableGroup
PluralAttributeMappingImpl. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
LazyTableGroup
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
Method parameters in org.hibernate.persister.collection with type arguments of type Predicate Modifier and Type Method Description void
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, Set<String> treatAsDeclarations, SqlAstCreationState creationState)
void
AbstractCollectionPersister. applyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, 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
Methods in org.hibernate.persister.entity that return Predicate Modifier and Type Method Description protected Predicate
AbstractEntityPersister. generateJoinPredicate(TableReference rootTableReference, TableReference joinedTableReference, String[] pkColumnNames, String[] fkColumnNames, SqlAstCreationState creationState)
Method parameters in org.hibernate.persister.entity with type arguments of type Predicate Modifier and Type Method Description void
AbstractEntityPersister. applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, 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, SqlAstCreationState creationState)
void
AbstractEntityPersister. applyWhereRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState)
TableGroup
AbstractEntityPersister. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState)
TableGroup
UnionSubclassEntityPersister. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase sqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState)
-
Uses of Predicate in org.hibernate.persister.internal
Classes in org.hibernate.persister.internal that implement Predicate Modifier and Type Class Description class
SqlFragmentPredicate
Predicate based on a SQL fragment -
Uses of Predicate in org.hibernate.query.derived
Methods in org.hibernate.query.derived with parameters of type Predicate Modifier and Type Method Description boolean
AnonymousTupleEmbeddableValuedModelPart. isSimpleJoinPredicate(Predicate predicate)
boolean
AnonymousTupleEntityValuedModelPart. isSimpleJoinPredicate(Predicate predicate)
Method parameters in org.hibernate.query.derived with type arguments of type Predicate Modifier and Type Method Description TableGroup
AnonymousTupleEmbeddableValuedModelPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
LazyTableGroup
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
Methods in org.hibernate.query.sqm.function that return Predicate Modifier and Type Method Description Predicate
SelfRenderingAggregateFunctionSqlAstExpression. getFilter()
Predicate
SelfRenderingWindowFunctionSqlAstExpression. getFilter()
Methods in org.hibernate.query.sqm.function with parameters of type Predicate Modifier and Type Method Description default void
FunctionRenderingSupport. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, SqlAstTranslator<?> walker)
default void
FunctionRenderingSupport. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> walker)
default void
FunctionRenderingSupport. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
void
NamedSqmFunctionDescriptor. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, SqlAstTranslator<?> walker)
void
NamedSqmFunctionDescriptor. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> translator)
void
NamedSqmFunctionDescriptor. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> translator)
void
PatternBasedSqmFunctionDescriptor. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, SqlAstTranslator<?> walker)
void
PatternBasedSqmFunctionDescriptor. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, SqlAstTranslator<?> walker)
void
PatternBasedSqmFunctionDescriptor. render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, SqlAstTranslator<?> walker)
Constructors in org.hibernate.query.sqm.function with parameters of type Predicate Constructor Description SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible)
SelfRenderingOrderedSetAggregateFunctionSqlAstExpression(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> type, JdbcMappingContainer expressible)
SelfRenderingWindowFunctionSqlAstExpression(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<?> type, JdbcMappingContainer expressible)
-
Uses of Predicate in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal that return Predicate Modifier and Type Method Description static Predicate
SqmMutationStrategyHelper. getIdSubqueryPredicate(Predicate predicate, EntityMappingType entityDescriptor, TableGroup tableGroup, SharedSessionContractImplementor session)
Translates the original delete predicate to be used in the id subquery forcing the use of the table alias qualifierPredicate
MultiTableSqmMutationConverter. visitWhereClause(SqmWhereClause whereClause)
Predicate
MultiTableSqmMutationConverter. visitWhereClause(SqmWhereClause sqmWhereClause, Consumer<ColumnReference> restrictionColumnReferenceConsumer, MultiTableSqmMutationConverter.SqmParameterResolutionConsumer parameterResolutionConsumer)
Methods in org.hibernate.query.sqm.mutation.internal with parameters of type Predicate Modifier and Type Method Description static 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)
static Predicate
SqmMutationStrategyHelper. getIdSubqueryPredicate(Predicate predicate, EntityMappingType entityDescriptor, TableGroup tableGroup, SharedSessionContractImplementor session)
Translates the original delete predicate to be used in the id subquery forcing the use of the table alias qualifierMethod parameters in org.hibernate.query.sqm.mutation.internal with type arguments of type Predicate Modifier and Type Method Description static 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
Methods in org.hibernate.query.sqm.mutation.internal.cte that return Predicate Modifier and Type Method Description protected 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
Methods in org.hibernate.query.sqm.mutation.internal.inline that return Predicate Modifier and Type Method Description Predicate
MatchingIdRestrictionProducer. produceRestriction(List<?> matchingIdValues, 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
Methods in org.hibernate.query.sqm.mutation.internal.temptable that return Predicate Modifier and Type Method Description protected Predicate
UpdateExecutionDelegate. getSuppliedPredicate()
Constructors in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type Predicate Constructor Description UpdateExecutionDelegate(MultiTableSqmMutationConverter sqmConverter, TemporaryTable idTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor,String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup updatingTableGroup, Map<String,TableReference> tableReferenceByAlias, List<Assignment> assignments, Predicate suppliedPredicate, Map<SqmParameter<?>,List<List<JdbcParameter>>> parameterResolutions, Map<SqmParameter<?>,MappingModelExpressible<?>> paramTypeResolutions, DomainQueryExecutionContext executionContext)
-
Uses of Predicate in org.hibernate.query.sqm.produce.function.internal
Methods in org.hibernate.query.sqm.produce.function.internal with parameters of type Predicate Modifier and Type Method Description void
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
Fields in org.hibernate.query.sqm.sql declared as Predicate Modifier and Type Field Description protected Predicate
BaseSqmToSqlAstConverter. additionalRestrictions
Methods in org.hibernate.query.sqm.sql that return Predicate Modifier and Type Method Description Predicate
BaseSqmToSqlAstConverter. visitHavingClause(SqmPredicate sqmPredicate)
Predicate
BaseSqmToSqlAstConverter. visitInListPredicate(SqmInListPredicate<?> predicate)
Predicate
BaseSqmToSqlAstConverter. visitMemberOfPredicate(SqmMemberOfPredicate predicate)
Predicate
BaseSqmToSqlAstConverter. visitNestedTopLevelPredicate(SqmPredicate predicate)
Predicate
FakeSqmToSqlAstConverter. visitNestedTopLevelPredicate(SqmPredicate predicate)
Predicate
SqmToSqlAstConverter. visitNestedTopLevelPredicate(SqmPredicate predicate)
-
Uses of Predicate in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi that return Predicate Modifier and Type Method Description static Predicate
SqlAstHelper. combinePredicates(Predicate baseRestriction, Predicate incomingRestriction)
static Predicate
SqlAstTreeHelper. combinePredicates(Predicate baseRestriction, Predicate incomingRestriction)
protected Predicate
AbstractSqlAstTranslator. determineLateralEmulationPredicate(TableGroup tableGroup)
protected Predicate
AbstractSqlAstTranslator. determineWhereClauseRestrictionWithJoinEmulation(AbstractUpdateOrDeleteStatement statement)
Methods in org.hibernate.sql.ast.spi with parameters of type Predicate Modifier and Type Method Description protected void
AbstractSqlAstTranslator. addAdditionalWherePredicate(Predicate predicate)
static Predicate
SqlAstHelper. combinePredicates(Predicate baseRestriction, Predicate incomingRestriction)
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. renderTableGroup(TableGroup tableGroup, Predicate predicate, List<TableGroupJoin> tableGroupJoinCollector)
protected void
AbstractSqlAstTranslator. visitWhereClause(Predicate whereClauseRestrictions)
-
Uses of Predicate in org.hibernate.sql.ast.tree
Methods in org.hibernate.sql.ast.tree that return Predicate Modifier and Type Method Description Predicate
AbstractUpdateOrDeleteStatement. getRestriction()
Constructors in org.hibernate.sql.ast.tree with parameters of type Predicate Constructor Description AbstractUpdateOrDeleteStatement(Map<String,CteStatement> cteStatements, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
AbstractUpdateOrDeleteStatement(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
Methods in org.hibernate.sql.ast.tree.delete with parameters of type Predicate Modifier and Type Method Description DeleteStatement.DeleteStatementBuilder
DeleteStatement.DeleteStatementBuilder. addRestriction(Predicate restriction)
DeleteStatement.DeleteStatementBuilder
DeleteStatement.DeleteStatementBuilder. setRestriction(Predicate restriction)
Constructors in org.hibernate.sql.ast.tree.delete with parameters of type Predicate Constructor Description DeleteStatement(Map<String,CteStatement> cteStatements, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
DeleteStatement(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
Methods in org.hibernate.sql.ast.tree.expression that return Predicate Modifier and Type Method Description Predicate
AggregateFunctionExpression. getFilter()
Predicate
WindowFunctionExpression. getFilter()
Predicate
CaseSearchedExpression.WhenFragment. getPredicate()
Methods in org.hibernate.sql.ast.tree.expression with parameters of type Predicate Modifier and Type Method Description void
CaseSearchedExpression. when(Predicate predicate, Expression result)
Constructors in org.hibernate.sql.ast.tree.expression with parameters of type Predicate Constructor Description WhenFragment(Predicate predicate, Expression result)
-
Uses of Predicate in org.hibernate.sql.ast.tree.from
Methods in org.hibernate.sql.ast.tree.from that return Predicate Modifier and Type Method Description Predicate
TableGroupJoin. getPredicate()
Predicate
TableJoin. getPredicate()
Predicate
TableReferenceJoin. getPredicate()
Predicate
TableReferenceJoinPredicateProducer. producePredicate(TableReference lhs, TableReference rhs, SqlAstJoinType sqlAstJoinType)
Methods in org.hibernate.sql.ast.tree.from that return types with arguments of type Predicate Modifier and Type Method Description Consumer<Predicate>
CorrelatedTableGroup. getJoinPredicateConsumer()
Methods in org.hibernate.sql.ast.tree.from with parameters of type Predicate Modifier and Type Method Description void
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.Method parameters in org.hibernate.sql.ast.tree.from with type arguments of type Predicate Modifier and Type Method Description TableGroup
RootTableGroupProducer. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState)
Create a root TableGroup as defined by this producerTableGroup
TableGroupJoinProducer. 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.Constructors in org.hibernate.sql.ast.tree.from with parameters of type Predicate Constructor Description TableGroupJoin(NavigablePath navigablePath, SqlAstJoinType joinType, TableGroup joinedGroup, Predicate predicate)
TableReferenceJoin(boolean innerJoin, NamedTableReference joinedTableBinding, Predicate predicate)
Constructor parameters in org.hibernate.sql.ast.tree.from with type arguments of type Predicate Constructor Description CorrelatedPluralTableGroup(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.predicate
Classes in org.hibernate.sql.ast.tree.predicate that implement Predicate Modifier and Type Class Description class
AbstractPredicate
class
BetweenPredicate
class
BooleanExpressionPredicate
class
ComparisonPredicate
class
ExistsPredicate
class
FilterPredicate
Collection ofFilterPredicate.FilterFragmentPredicate
sub-predicates, each representing one enabled filter restriction.static class
FilterPredicate.FilterFragmentPredicate
class
GroupedPredicate
class
InArrayPredicate
class
InListPredicate
class
InSubQueryPredicate
class
Junction
class
LikePredicate
class
NegatedPredicate
class
NullnessPredicate
class
SelfRenderingPredicate
Methods in org.hibernate.sql.ast.tree.predicate that return Predicate Modifier and Type Method Description static Predicate
Predicate. combinePredicates(Predicate p1, Predicate p2)
Predicate
NegatedPredicate. getPredicate()
Predicate
PredicateCollector. getPredicate()
Predicate
GroupedPredicate. getSubPredicate()
Methods in org.hibernate.sql.ast.tree.predicate that return types with arguments of type Predicate Modifier and Type Method Description List<Predicate>
Junction. getPredicates()
Methods in org.hibernate.sql.ast.tree.predicate with parameters of type Predicate Modifier and Type Method Description void
Junction. add(Predicate predicate)
void
PredicateCollector. applyPredicate(Predicate incomingPredicate)
void
PredicateContainer. applyPredicate(Predicate predicate)
Apply a predicate to this containerstatic Predicate
Predicate. combinePredicates(Predicate p1, Predicate p2)
Constructors in org.hibernate.sql.ast.tree.predicate with parameters of type Predicate Constructor Description GroupedPredicate(Predicate subPredicate)
NegatedPredicate(Predicate predicate)
PredicateCollector(Predicate predicate)
Constructor parameters in org.hibernate.sql.ast.tree.predicate with type arguments of type Predicate Constructor Description Junction(Junction.Nature nature, List<Predicate> predicates, JdbcMappingContainer expressionType)
-
Uses of Predicate in org.hibernate.sql.ast.tree.select
Methods in org.hibernate.sql.ast.tree.select that return Predicate Modifier and Type Method Description Predicate
QuerySpec. getHavingClauseRestrictions()
Predicate
QuerySpec. getWhereClauseRestrictions()
Methods in org.hibernate.sql.ast.tree.select with parameters of type Predicate Modifier and Type Method Description void
QuerySpec. applyPredicate(Predicate predicate)
void
QuerySpec. setHavingClauseRestrictions(Predicate havingClauseRestrictions)
-
Uses of Predicate in org.hibernate.sql.ast.tree.update
Methods in org.hibernate.sql.ast.tree.update with parameters of type Predicate Modifier and Type Method Description UpdateStatement.UpdateStatementBuilder
UpdateStatement.UpdateStatementBuilder. addRestriction(Predicate restriction)
UpdateStatement.UpdateStatementBuilder
UpdateStatement.UpdateStatementBuilder. setRestriction(Predicate restriction)
-
Uses of Predicate in org.hibernate.sql.results.graph.embeddable
Methods in org.hibernate.sql.results.graph.embeddable with parameters of type Predicate Modifier and Type Method Description default boolean
EmbeddableValuedFetchable. isSimpleJoinPredicate(Predicate predicate)
-