| Modifier and Type | Method and Description |
|---|---|
SearchPredicateFactoryContext |
MappedIndexScope.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 | Interface and Description |
|---|---|
interface |
SearchQueryResultContext<N extends SearchQueryContext<?,H,?>,H,PDC extends SearchPredicateFactoryContext>
The context used when building a query, after the search result type has been defined.
|
interface |
SearchQueryResultDefinitionContext<N extends SearchQueryContext<?,E,?>,R,E,PJC extends SearchProjectionFactoryContext<R,E>,PDC extends SearchPredicateFactoryContext>
The context used when building a query, before the search result type has been defined.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExtendedSearchQueryContext<S extends SearchQueryContext<S,H,SC>,H,R extends SearchResult<H>,PDC extends SearchPredicateFactoryContext,SC extends SearchSortFactoryContext,C> |
class |
AbstractSearchQueryContext<S extends SearchQueryContext<S,H,SC>,H,PDC extends SearchPredicateFactoryContext,SC extends SearchSortFactoryContext,C> |
class |
AbstractSearchQueryResultDefinitionContext<N extends SearchQueryContext<?,E,?>,R,E,PJC extends SearchProjectionFactoryContext<R,E>,PDC extends SearchPredicateFactoryContext,C> |
| Modifier and Type | Method and Description |
|---|---|
protected abstract PDC |
AbstractSearchQueryContext.extendPredicateContext(SearchPredicateFactoryContext predicateFactoryContext) |
| Modifier and Type | Method and Description |
|---|---|
SearchQueryContext<?,E,?> |
AbstractDelegatingSearchQueryResultDefinitionContext.predicate(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> predicateContributor) |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.