Uses of Interface
org.hibernate.search.engine.search.predicate.dsl.PredicateFinalStep
Packages that use PredicateFinalStep
Package
Description
-
Uses of PredicateFinalStep in org.hibernate.search.backend.elasticsearch.search.predicate.dsl
Methods in org.hibernate.search.backend.elasticsearch.search.predicate.dsl that return PredicateFinalStepModifier and TypeMethodDescriptionElasticsearchSearchPredicateFactory.fromJson
(com.google.gson.JsonObject jsonObject) Create a predicate from JSON.Create a predicate from JSON. -
Uses of PredicateFinalStep in org.hibernate.search.backend.lucene.search.predicate.dsl
Methods in org.hibernate.search.backend.lucene.search.predicate.dsl that return PredicateFinalStepModifier and TypeMethodDescriptionLuceneSearchPredicateFactory.fromLuceneQuery
(Query query) Create a predicate from a LuceneQuery
. -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.aggregation.dsl
Methods in org.hibernate.search.engine.search.aggregation.dsl with parameters of type PredicateFinalStepModifier and TypeMethodDescriptiondefault S
AggregationFilterStep.filter
(PredicateFinalStep dslFinalStep) Filter nested objects from which values will be extracted for this aggregation.Method parameters in org.hibernate.search.engine.search.aggregation.dsl with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionAggregationFilterStep.filter
(Function<? super PDF, ? extends PredicateFinalStep> clauseContributor) Filter nested objects from which values will be extracted for this aggregation. -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.predicate.dsl
Subinterfaces of PredicateFinalStep in org.hibernate.search.engine.search.predicate.dslModifier and TypeInterfaceDescriptioninterface
BooleanPredicateClausesStep<SR,
S extends BooleanPredicateClausesStep<SR, ?>> The initial and final step in a boolean predicate definition, where clauses can be added.interface
The final step in a query string predicate definition, where optional parameters can be set.interface
ExistsPredicateOptionsStep<S extends ExistsPredicateOptionsStep<?>>
The final step in an "exists" predicate definition, where optional parameters can be set.interface
GenericBooleanPredicateClausesStep<SR,
S extends C, C extends BooleanPredicateOptionsCollector<SR, ?>> A generic superinterface for Predicate DSL steps that involve collecting clauses and options of a boolean predicate.interface
GenericSimpleBooleanPredicateClausesStep<SR,
S extends C, C extends SimpleBooleanPredicateClausesCollector<SR, ?>> A generic superinterface for "simple boolean predicate" DSL steps that involve collecting clauses.interface
The final step in a "knn" predicate definition, where optional parameters can be set.interface
MatchAllPredicateOptionsStep<SR,
S extends MatchAllPredicateOptionsStep<SR, ?>> The initial and final step in "match all" predicate definition, where optional parameters can be set.interface
MatchIdPredicateMatchingMoreStep<S extends MatchIdPredicateMatchingMoreStep<?,
N>, N extends MatchIdPredicateOptionsStep<?>> The final step in a "match id" predicate definition, where more IDs to match can be set.interface
MatchIdPredicateOptionsStep<S extends MatchIdPredicateOptionsStep<?>>
The final step in a "match id" predicate definition, where optional parameters can be set.interface
The initial and final step in "match none" predicate definition.interface
MatchPredicateOptionsStep<S extends MatchPredicateOptionsStep<?>>
The final step in a "match" predicate definition, where optional parameters can be set.interface
The initial and final step in named predicate definition.interface
NestedPredicateClausesStep<SR,
S extends NestedPredicateClausesStep<SR, ?>> The step in a nested predicate definition where clauses can be added.interface
NestedPredicateOptionsStep<S extends NestedPredicateOptionsStep<?>>
Deprecated.interface
The initial and final step in "not" predicate definition.interface
PhrasePredicateOptionsStep<S extends PhrasePredicateOptionsStep<?>>
The final step in a "phrase" predicate definition, where optional parameters can be set.interface
PrefixPredicateOptionsStep<S extends PrefixPredicateOptionsStep<?>>
The final step in a "prefix" predicate definition, where optional parameters can be set.interface
The final step in a "query string" predicate definition, where optional parameters can be set.interface
RangePredicateOptionsStep<S extends RangePredicateOptionsStep<?>>
The final step in a "range" predicate definition, where optional parameters can be set.interface
RegexpPredicateOptionsStep<S extends RegexpPredicateOptionsStep<?>>
The final step in a "regexp" predicate definition, where optional parameters can be set.interface
SimpleBooleanPredicateClausesStep<SR,
S extends SimpleBooleanPredicateClausesStep<SR, ?>> The initial and final step in a "simple boolean predicate" definition, where clauses can be added and options can be set.interface
The initial and final step in a "simple boolean predicate" definition, where options can be set.interface
The final step in a "simple query string" predicate definition, where optional parameters can be set.interface
The final step in a "within" predicate definition, where optional parameters can be set.interface
TermsPredicateOptionsStep<S extends TermsPredicateOptionsStep<?>>
The final step in a "terms" predicate definition, where optional parameters can be set.interface
WildcardPredicateOptionsStep<S extends WildcardPredicateOptionsStep<?>>
The final step in a "wildcard" predicate definition, where optional parameters can be set.Methods in org.hibernate.search.engine.search.predicate.dsl that return PredicateFinalStepModifier and TypeMethodDescriptionSearchPredicateFactory.bool
(Consumer<? super BooleanPredicateClausesStep<SR, ?>> clauseContributor) Deprecated.Use.bool().with(...)
instead.SearchPredicateFactoryExtensionIfSupportedMoreStep.orElse
(Function<SearchPredicateFactory<SR>, ? extends PredicateFinalStep> predicateContributor) If no extension passed toSearchPredicateFactoryExtensionIfSupportedStep.ifSupported(SearchPredicateFactoryExtension, Function)
was supported so far, apply the given consumer to the current (non-extended)SearchPredicateFactory
; otherwise return the predicate created in the first succeedingifSupported
call.SearchPredicateFactoryExtensionIfSupportedMoreStep.orElseFail()
If no extension passed toSearchPredicateFactoryExtensionIfSupportedStep.ifSupported(SearchPredicateFactoryExtension, Function)
was supported so far, throw an exception; otherwise return the predicate created in the first succeedingifSupported
call.SearchPredicateFactory.withParameters
(Function<? super NamedValues, ? extends PredicateFinalStep> predicateCreator) Delegating predicate that creates the actual predicate at query create time and provides access to query parameters.Methods in org.hibernate.search.engine.search.predicate.dsl with parameters of type PredicateFinalStepModifier and TypeMethodDescriptiondefault S
GenericSimpleBooleanPredicateClausesStep.add
(PredicateFinalStep searchPredicate) SimpleBooleanPredicateClausesCollector.add
(PredicateFinalStep searchPredicate) Adds the specified predicate to the list of clauses.SearchPredicateFactory.and
(PredicateFinalStep firstSearchPredicate, PredicateFinalStep... otherSearchPredicates) Match documents if they match all clauses.default S
MatchAllPredicateOptionsStep.except
(PredicateFinalStep dslFinalStep) Add a "must not" clause based on an almost-builtSearchPredicate
.default S
BooleanPredicateOptionsCollector.filter
(PredicateFinalStep dslFinalStep) Add a "filter" clause based on an almost-builtSearchPredicate
.default S
GenericBooleanPredicateClausesStep.filter
(PredicateFinalStep dslFinalStep) default KnnPredicateOptionsStep
<SR> KnnPredicateOptionsStep.filter
(PredicateFinalStep searchPredicate) default S
BooleanPredicateOptionsCollector.must
(PredicateFinalStep dslFinalStep) Add a "must" clause based on an almost-builtSearchPredicate
.default S
GenericBooleanPredicateClausesStep.must
(PredicateFinalStep dslFinalStep) default S
BooleanPredicateOptionsCollector.mustNot
(PredicateFinalStep dslFinalStep) Add a "must not" clause based on an almost-builtSearchPredicate
.default S
GenericBooleanPredicateClausesStep.mustNot
(PredicateFinalStep dslFinalStep) default N
NestedPredicateNestStep.nest
(PredicateFinalStep dslFinalStep) Deprecated.Set the inner predicate to an almost-builtSearchPredicate
.SearchPredicateFactory.not
(PredicateFinalStep searchPredicate) Match documents that do not satisfy the passed in predicate.SearchPredicateFactory.or
(PredicateFinalStep firstSearchPredicate, PredicateFinalStep... otherSearchPredicates) Match documents if they match any clause.default S
BooleanPredicateOptionsCollector.should
(PredicateFinalStep dslFinalStep) Add a "should" clause based on an almost-builtSearchPredicate
.default S
GenericBooleanPredicateClausesStep.should
(PredicateFinalStep dslFinalStep) Method parameters in org.hibernate.search.engine.search.predicate.dsl with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionGenericSimpleBooleanPredicateClausesStep.add
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) SimpleBooleanPredicateClausesCollector.add
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) Adds a clause to be defined by the given function.MatchAllPredicateOptionsStep.except
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) Add a "must not" clause to be defined by the given function.BooleanPredicateOptionsCollector.filter
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) Add a "filter" clause to be defined by the given function.GenericBooleanPredicateClausesStep.filter
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) KnnPredicateOptionsStep.filter
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) SearchPredicateFactoryExtensionIfSupportedStep.ifSupported
(SearchPredicateFactoryExtension<SR, T> extension, Function<T, ? extends PredicateFinalStep> predicateContributor) If the given extension is supported, and none of the previous extensions passed toSearchPredicateFactoryExtensionIfSupportedStep.ifSupported(SearchPredicateFactoryExtension, Function)
was supported, extend the current factory with this extension, apply the given function to the extended factory, and store the resulting predicate for later retrieval.BooleanPredicateOptionsCollector.must
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) Add a "must" clause to be defined by the given function.GenericBooleanPredicateClausesStep.must
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) BooleanPredicateOptionsCollector.mustNot
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) Add a "must not" clause to be defined by the given function.GenericBooleanPredicateClausesStep.mustNot
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) NestedPredicateNestStep.nest
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> predicateContributor) Deprecated.Set the inner predicate defined by the given function.SearchPredicateFactoryExtensionIfSupportedMoreStep.orElse
(Function<SearchPredicateFactory<SR>, ? extends PredicateFinalStep> predicateContributor) If no extension passed toSearchPredicateFactoryExtensionIfSupportedStep.ifSupported(SearchPredicateFactoryExtension, Function)
was supported so far, apply the given consumer to the current (non-extended)SearchPredicateFactory
; otherwise return the predicate created in the first succeedingifSupported
call.BooleanPredicateOptionsCollector.should
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) Add a "should" clause to be defined by the given function.GenericBooleanPredicateClausesStep.should
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> clauseContributor) SearchPredicateFactory.withParameters
(Function<? super NamedValues, ? extends PredicateFinalStep> predicateCreator) Delegating predicate that creates the actual predicate at query create time and provides access to query parameters. -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.predicate.dsl.spi
Classes in org.hibernate.search.engine.search.predicate.dsl.spi that implement PredicateFinalStepModifier and TypeClassDescriptionclass
An abstract base forPredicateFinalStep
implementations.final class
Methods in org.hibernate.search.engine.search.predicate.dsl.spi that return PredicateFinalStepModifier and TypeMethodDescriptionAbstractSearchPredicateFactory.bool
(Consumer<? super BooleanPredicateClausesStep<SR, ?>> clauseContributor) AbstractSearchPredicateFactory.withParameters
(Function<? super NamedValues, ? extends PredicateFinalStep> predicateCreator) Methods in org.hibernate.search.engine.search.predicate.dsl.spi with parameters of type PredicateFinalStepModifier and TypeMethodDescriptionAbstractSearchPredicateFactory.and
(PredicateFinalStep firstSearchPredicate, PredicateFinalStep... otherSearchPredicate) AbstractSearchPredicateFactory.not
(PredicateFinalStep searchPredicate) AbstractSearchPredicateFactory.or
(PredicateFinalStep firstSearchPredicate, PredicateFinalStep... otherSearchPredicate) Method parameters in org.hibernate.search.engine.search.predicate.dsl.spi with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionAbstractSearchPredicateFactory.withParameters
(Function<? super NamedValues, ? extends PredicateFinalStep> predicateCreator) -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.predicate.spi
Method parameters in org.hibernate.search.engine.search.predicate.spi with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionvoid
WithParametersPredicateBuilder.creator
(Function<? super NamedValues, ? extends PredicateFinalStep> predicateDefinition) -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.query.dsl
Method parameters in org.hibernate.search.engine.search.query.dsl with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionSearchQueryWhereStep.where
(Function<? super PDF, ? extends PredicateFinalStep> predicateContributor) Set the predicate for this query. -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.query.dsl.spi
Method parameters in org.hibernate.search.engine.search.query.dsl.spi with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionSearchQueryOptionsStep
<SR, ?, E, LOS, ?, ?> AbstractDelegatingSearchQuerySelectStep.where
(Function<? super SearchPredicateFactory<SR>, ? extends PredicateFinalStep> predicateContributor) AbstractSearchQueryOptionsStep.where
(Function<? super PDF, ? extends PredicateFinalStep> predicateContributor) -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.sort.dsl
Methods in org.hibernate.search.engine.search.sort.dsl with parameters of type PredicateFinalStepModifier and TypeMethodDescriptiondefault S
SortFilterStep.filter
(PredicateFinalStep dslFinalStep) Filter nested objects from which values will be extracted for this sort.Method parameters in org.hibernate.search.engine.search.sort.dsl with type arguments of type PredicateFinalStepModifier and TypeMethodDescriptionSortFilterStep.filter
(Function<? super PDF, ? extends PredicateFinalStep> clauseContributor) Filter nested objects from which values will be extracted for this sort.
SearchPredicateFactory.nested(String)
instead.