| Modifier and Type | Method and Description |
|---|---|
SearchPredicateFactoryContext |
MappedIndexSearchScope.predicate() |
| Modifier and Type | Method and Description |
|---|---|
<C,B> Optional<T> |
SearchPredicateFactoryContextExtension.extendOptional(SearchPredicateFactoryContext original,
SearchPredicateBuilderFactory<C,B> factory)
Attempt to extend a given context, returning an empty
Optional in case of failure. |
| Modifier and Type | Method and Description |
|---|---|
MatchAllPredicateContext |
MatchAllPredicateContext.except(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.filter(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "filter" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.must(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "must" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.mustNot(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
NestedPredicateTerminalContext |
NestedPredicateFieldContext.nest(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> predicateContributor)
Create a context allowing to define the inner predicate,
and apply a consumer to it.
|
SearchPredicateTerminalContext |
SearchPredicateFactoryExtensionContext.orElse(Function<SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> predicateContributor)
If no extension passed to
SearchPredicateFactoryExtensionContext.ifSupported(SearchPredicateFactoryContextExtension, Function)
was supported so far, apply the given consumer to the current (non-extended) SearchPredicateFactoryContext;
otherwise return the predicate created in the first succeeding ifSupported call. |
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.should(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "should" clause to be defined by the given function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSearchPredicateFactoryContext
A delegating
SearchPredicateFactoryContext. |
| Modifier and Type | Method and Description |
|---|---|
protected SearchPredicateFactoryContext |
DelegatingSearchPredicateFactoryContext.getDelegate() |
| Constructor and Description |
|---|
DelegatingSearchPredicateFactoryContext(SearchPredicateFactoryContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
SearchQueryContext<Q> |
SearchQueryResultContext.predicate(Function<? super SearchPredicateFactoryContext,SearchPredicateTerminalContext> predicateContributor)
Set the predicate for this query.
|
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.