Uses of Interface
org.hibernate.sql.ast.tree.predicate.Predicate
-
-
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)
-
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, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
-
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, SqlExpressionResolver sqlExpressionResolver, SqlAstCreationContext creationContext)
Predicate
ForeignKeyDescriptor. generateJoinPredicate(TableReference targetSideReference, TableReference keySideReference, SqlExpressionResolver sqlExpressionResolver, SqlAstCreationContext creationContext)
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, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAliasBase sqlAliasBase, SqlExpressionResolver expressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
default TableGroup
EntityMappingType. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState, SqlAstCreationContext creationContext)
-
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, SqlExpressionResolver sqlExpressionResolver, SqlAstCreationContext creationContext)
Predicate
EmbeddedForeignKeyDescriptor. generateJoinPredicate(TableReference targetSideReference, TableReference keySideReference, SqlExpressionResolver sqlExpressionResolver, SqlAstCreationContext creationContext)
Predicate
SimpleForeignKeyDescriptor. generateJoinPredicate(TableGroup targetSideTableGroup, TableGroup keySideTableGroup, SqlExpressionResolver sqlExpressionResolver, SqlAstCreationContext creationContext)
Predicate
SimpleForeignKeyDescriptor. generateJoinPredicate(TableReference targetSideReference, TableReference keySideReference, SqlExpressionResolver sqlExpressionResolver, SqlAstCreationContext creationContext)
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 TableGroup
PluralAttributeMappingImpl. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAliasBase sqlAliasBase, SqlExpressionResolver expressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
PluralAttributeMappingImpl. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState, SqlAstCreationContext creationContext)
TableGroup
DiscriminatedAssociationAttributeMapping. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
DiscriminatedCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
EmbeddedAttributeMapping. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
EmbeddedCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
LazyTableGroup
ManyToManyCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
OneToManyCollectionPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
PluralAttributeMappingImpl. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
LazyTableGroup
ToOneAttributeMapping. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType requestedJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
-
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)
void
OneToManyPersister. 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[] fkColumnNames, SqlExpressionResolver sqlExpressionResolver)
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
SingleTableEntityPersister. 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, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAliasBase sqlAliasBase, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
SingleTableEntityPersister. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAliasBase sqlAliasBase, SqlExpressionResolver expressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
UnionSubclassEntityPersister. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAliasBase sqlAliasBase, SqlExpressionResolver expressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
-
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, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
LazyTableGroup
AnonymousTupleEntityValuedModelPart. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
-
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 Predicate
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)
Method 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 with parameters of type Predicate Modifier and Type Method Description 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)
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)
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.delete
Methods in org.hibernate.sql.ast.tree.delete that return Predicate Modifier and Type Method Description Predicate
DeleteStatement. getRestriction()
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, Predicate restriction, List<ColumnReference> returningColumns)
DeleteStatement(CteContainer cteContainer, NamedTableReference targetTable, 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, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAliasBase sqlAliasBase, SqlExpressionResolver expressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
TableGroup
RootTableGroupProducer. createRootTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, String explicitSourceAlias, Supplier<Consumer<Predicate>> additionalPredicateCollectorAccess, SqlAstCreationState creationState, SqlAstCreationContext creationContext)
Create a root TableGroup as defined by this producerTableGroup
TableGroupJoinProducer. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAliasBaseGenerator aliasBaseGenerator, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess, SqlAstCreationContext creationContext)
Create a TableGroupJoin as defined for this producer, but as root TableGroup.default TableGroup
TableGroupJoinProducer. createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
Create a TableGroupJoin as defined for this producer, but as root 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
Represents a filter applied to an entity/collection.static class
FilterPredicate.FilterFragmentPredicate
class
GroupedPredicate
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 that return Predicate Modifier and Type Method Description Predicate
UpdateStatement. getRestriction()
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)
Constructors in org.hibernate.sql.ast.tree.update with parameters of type Predicate Constructor Description UpdateStatement(Map<String,CteStatement> cteStatements, NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
UpdateStatement(CteContainer cteContainer, NamedTableReference targetTable, 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)
-
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)
-