| Modifier and Type | Interface and Description |
|---|---|
interface |
BooleanPredicateClausesStep
The initial and final step in a boolean predicate definition, where clauses can be added.
|
interface |
ExistsPredicateOptionsStep
The final step in an "exists" predicate definition, where optional parameters can be set.
|
interface |
MatchAllPredicateOptionsStep
The initial and final step in "match all" predicate definition, where optional parameters can be set.
|
interface |
MatchIdPredicateMatchingMoreStep
The final step in a "match id" predicate definition,
where more IDs to match can be set.
|
interface |
MatchPredicateOptionsStep
The final step in a "match" predicate definition, where optional parameters can be set.
|
interface |
NestedPredicateOptionsStep
The final step in an "nested" predicate definition, where optional parameters can be set.
|
interface |
PhrasePredicateOptionsStep
The final step in a "phrase" predicate definition, where optional parameters can be set.
|
interface |
RangePredicateLastLimitExcludeStep
The final step in a "range" predicate definition, where optional parameters can be set,
or the last defined range limit can be excluded.
|
interface |
RangePredicateOptionsStep
The final step in a "range" predicate definition, where optional parameters can be set.
|
interface |
SimpleQueryStringPredicateOptionsStep
The final step in an "simple query string" predicate definition, where optional parameters can be set.
|
interface |
SpatialWithinPredicateOptionsStep
The final step in a "within" predicate definition, where optional parameters can be set.
|
interface |
WildcardPredicateOptionsStep
The final step in a "wildcard" predicate definition, where optional parameters can be set.
|
| Modifier and Type | Method and 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 to
SearchPredicateFactoryExtensionIfSupportedStep.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 succeeding ifSupported call. |
PredicateFinalStep |
SearchPredicateFactoryExtensionIfSupportedMoreStep.orElseFail()
If no extension passed to
SearchPredicateFactoryExtensionIfSupportedStep.ifSupported(SearchPredicateFactoryExtension, Function)
was supported so far, throw an exception;
otherwise return the predicate created in the first succeeding ifSupported call. |
| Modifier and Type | Method and Description |
|---|---|
default MatchAllPredicateOptionsStep |
MatchAllPredicateOptionsStep.except(PredicateFinalStep dslFinalStep)
Add a "must not" clause based on an almost-built
SearchPredicate. |
default BooleanPredicateClausesStep |
BooleanPredicateClausesStep.filter(PredicateFinalStep dslFinalStep)
Add a "filter" clause based on an almost-built
SearchPredicate. |
default BooleanPredicateClausesStep |
BooleanPredicateClausesStep.must(PredicateFinalStep dslFinalStep)
Add a "must" clause based on an almost-built
SearchPredicate. |
default BooleanPredicateClausesStep |
BooleanPredicateClausesStep.mustNot(PredicateFinalStep dslFinalStep)
Add a "must not" clause based on an almost-built
SearchPredicate. |
default NestedPredicateOptionsStep |
NestedPredicateNestStep.nest(PredicateFinalStep dslFinalStep)
Set the inner predicate to an almost-built
SearchPredicate. |
default BooleanPredicateClausesStep |
BooleanPredicateClausesStep.should(PredicateFinalStep dslFinalStep)
Add a "should" clause based on an almost-built
SearchPredicate. |
| Modifier and Type | Method and Description |
|---|---|
MatchAllPredicateOptionsStep |
MatchAllPredicateOptionsStep.except(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
BooleanPredicateClausesStep |
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 to
SearchPredicateFactoryExtensionIfSupportedStep.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. |
BooleanPredicateClausesStep |
BooleanPredicateClausesStep.must(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must" clause to be defined by the given function.
|
BooleanPredicateClausesStep |
BooleanPredicateClausesStep.mustNot(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
NestedPredicateOptionsStep |
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 to
SearchPredicateFactoryExtensionIfSupportedStep.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 succeeding ifSupported call. |
BooleanPredicateClausesStep |
BooleanPredicateClausesStep.should(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "should" clause to be defined by the given function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPredicateFinalStep<B>
An abstract base for
PredicateFinalStep implementations. |
| Modifier and Type | Method and Description |
|---|---|
PredicateFinalStep |
DelegatingSearchPredicateFactory.bool(Consumer<? super BooleanPredicateClausesStep> clauseContributor) |
| Modifier and Type | Method and Description |
|---|---|
N |
SearchQueryPredicateStep.predicate(Function<? super PDF,? extends PredicateFinalStep> predicateContributor)
Set the predicate for this query.
|
| Modifier and Type | Method and Description |
|---|---|
S |
AbstractSearchQueryOptionsStep.predicate(Function<? super PDF,? extends PredicateFinalStep> predicateContributor) |
SearchQueryOptionsStep<?,E,?> |
AbstractDelegatingSearchQueryHitTypeStep.predicate(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> predicateContributor) |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.