Uses of Interface
org.hibernate.search.engine.search.predicate.dsl.PredicateFinalStep
-
-
Uses of PredicateFinalStep in org.hibernate.search.backend.elasticsearch.search.predicate.dsl
Methods in org.hibernate.search.backend.elasticsearch.search.predicate.dsl that return PredicateFinalStep Modifier and Type Method Description PredicateFinalStep
ElasticsearchSearchPredicateFactory. fromJson(com.google.gson.JsonObject jsonObject)
Create a predicate from JSON.PredicateFinalStep
ElasticsearchSearchPredicateFactory. fromJson(String jsonString)
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 PredicateFinalStep Modifier and Type Method Description PredicateFinalStep
LuceneSearchPredicateFactory. 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 PredicateFinalStep Modifier and Type Method Description default 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 PredicateFinalStep Modifier and Type Method Description S
AggregationFilterStep. 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.dsl Modifier and Type Interface Description interface
BooleanPredicateClausesStep<S extends BooleanPredicateClausesStep<?>>
The initial and final step in a boolean predicate definition, where clauses can be added.interface
ExistsPredicateOptionsStep<S extends ExistsPredicateOptionsStep<?>>
The final step in an "exists" predicate definition, where optional parameters can be set.interface
MatchAllPredicateOptionsStep<S extends MatchAllPredicateOptionsStep<?>>
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
MatchPredicateOptionsStep<S extends MatchPredicateOptionsStep<?>>
The final step in a "match" predicate definition, where optional parameters can be set.interface
NestedPredicateOptionsStep<S extends NestedPredicateOptionsStep<?>>
The final step in an "nested" predicate definition, where optional parameters can be set.interface
PhrasePredicateOptionsStep<S extends PhrasePredicateOptionsStep<?>>
The final step in a "phrase" 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
SimpleQueryStringPredicateOptionsStep<S extends SimpleQueryStringPredicateOptionsStep<?>>
The final step in an "simple query string" predicate definition, where optional parameters can be set.interface
SpatialWithinPredicateOptionsStep<S extends SpatialWithinPredicateOptionsStep<?>>
The final step in a "within" 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 PredicateFinalStep Modifier and Type Method Description PredicateFinalStep
SearchPredicateFactory. bool(Consumer<? super BooleanPredicateClausesStep<?>> clauseContributor)
Match documents if they match a combination of boolean clauses, which will be defined by the given consumer.PredicateFinalStep
SearchPredicateFactoryExtensionIfSupportedMoreStep. orElse(Function<SearchPredicateFactory,? 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.PredicateFinalStep
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.Methods in org.hibernate.search.engine.search.predicate.dsl with parameters of type PredicateFinalStep Modifier and Type Method Description default S
MatchAllPredicateOptionsStep. except(PredicateFinalStep dslFinalStep)
Add a "must not" clause based on an almost-builtSearchPredicate
.default S
BooleanPredicateClausesStep. filter(PredicateFinalStep dslFinalStep)
Add a "filter" clause based on an almost-builtSearchPredicate
.default S
BooleanPredicateClausesStep. must(PredicateFinalStep dslFinalStep)
Add a "must" clause based on an almost-builtSearchPredicate
.default S
BooleanPredicateClausesStep. mustNot(PredicateFinalStep dslFinalStep)
Add a "must not" clause based on an almost-builtSearchPredicate
.default N
NestedPredicateNestStep. nest(PredicateFinalStep dslFinalStep)
Set the inner predicate to an almost-builtSearchPredicate
.default S
BooleanPredicateClausesStep. should(PredicateFinalStep dslFinalStep)
Add a "should" clause based on an almost-builtSearchPredicate
.Method parameters in org.hibernate.search.engine.search.predicate.dsl with type arguments of type PredicateFinalStep Modifier and Type Method Description S
MatchAllPredicateOptionsStep. except(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must not" clause to be defined by the given function.S
BooleanPredicateClausesStep. filter(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "filter" clause to be defined by the given function.<T> SearchPredicateFactoryExtensionIfSupportedMoreStep
SearchPredicateFactoryExtensionIfSupportedStep. ifSupported(SearchPredicateFactoryExtension<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.S
BooleanPredicateClausesStep. must(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must" clause to be defined by the given function.S
BooleanPredicateClausesStep. mustNot(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must not" clause to be defined by the given function.N
NestedPredicateNestStep. nest(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> predicateContributor)
Set the inner predicate defined by the given function.PredicateFinalStep
SearchPredicateFactoryExtensionIfSupportedMoreStep. orElse(Function<SearchPredicateFactory,? 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.S
BooleanPredicateClausesStep. should(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "should" clause to be defined by the given function. -
Uses of PredicateFinalStep in org.hibernate.search.engine.search.predicate.dsl.spi
Classes in org.hibernate.search.engine.search.predicate.dsl.spi that implement PredicateFinalStep Modifier and Type Class Description class
AbstractPredicateFinalStep
An abstract base forPredicateFinalStep
implementations.class
StaticPredicateFinalStep
Methods in org.hibernate.search.engine.search.predicate.dsl.spi that return PredicateFinalStep Modifier and Type Method Description PredicateFinalStep
DelegatingSearchPredicateFactory. bool(Consumer<? super BooleanPredicateClausesStep<?>> clauseContributor)
-
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 PredicateFinalStep Modifier and Type Method Description N
SearchQueryWhereStep. 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 PredicateFinalStep Modifier and Type Method Description SearchQueryOptionsStep<?,E,LOS,?,?>
AbstractDelegatingSearchQuerySelectStep. where(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> predicateContributor)
S
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 PredicateFinalStep Modifier and Type Method Description default 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 PredicateFinalStep Modifier and Type Method Description S
SortFilterStep. filter(Function<? super PDF,? extends PredicateFinalStep> clauseContributor)
Filter nested objects from which values will be extracted for this sort.
-