| Modifier and Type | Method and Description |
|---|---|
SearchPredicateFactory |
MappedIndexScope.predicate() |
| Modifier and Type | Method and Description |
|---|---|
<C,B> Optional<T> |
SearchPredicateFactoryExtension.extendOptional(SearchPredicateFactory original,
SearchPredicateBuilderFactory<C,B> factory)
Attempt to extend a given factory, returning an empty
Optional in case of failure. |
| Modifier and Type | Method and 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.
|
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 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. |
S |
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 |
DelegatingSearchPredicateFactory
A delegating
SearchPredicateFactory. |
| Modifier and Type | Method and Description |
|---|---|
protected SearchPredicateFactory |
DelegatingSearchPredicateFactory.getDelegate() |
| Constructor and Description |
|---|
DelegatingSearchPredicateFactory(SearchPredicateFactory delegate) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SearchQueryHitTypeStep<N extends SearchQueryOptionsStep<?,E,?,?>,R,E,PJF extends SearchProjectionFactory<R,E>,PDF extends SearchPredicateFactory>
The initial step in a query definition, where the type of query hits can be set,
or where the predicate can be set directly, assuming that query hits are returned as entities.
|
interface |
SearchQueryPredicateStep<N extends SearchQueryOptionsStep<?,H,?,?>,H,PDF extends SearchPredicateFactory>
The step in a query definition where the predicate can be set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExtendedSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,H,SF,AF>,H,R extends SearchResult<H>,PDF extends SearchPredicateFactory,SF extends SearchSortFactory,AF extends SearchAggregationFactory,C> |
class |
AbstractSearchQueryHitTypeStep<N extends SearchQueryOptionsStep<?,E,?,?>,R,E,PJF extends SearchProjectionFactory<R,E>,PDF extends SearchPredicateFactory,C> |
class |
AbstractSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,H,SF,AF>,H,PDF extends SearchPredicateFactory,SF extends SearchSortFactory,AF extends SearchAggregationFactory,C> |
| Modifier and Type | Method and Description |
|---|---|
protected abstract PDF |
AbstractSearchQueryOptionsStep.extendPredicateFactory(SearchPredicateFactory predicateFactory) |
| Modifier and Type | Method and Description |
|---|---|
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.