Modifier and Type | Method and Description |
---|---|
<C,B> Optional<ElasticsearchSearchPredicateFactoryContext> |
ElasticsearchExtension.extendOptional(SearchPredicateFactoryContext original,
SearchPredicateBuilderFactory<C,B> factory)
Attempt to extend a given context, returning an empty
Optional in case of failure. |
Modifier and Type | Interface and Description |
---|---|
interface |
ElasticsearchSearchPredicateFactoryContext
A DSL context allowing to specify the type of a predicate, with some Elasticsearch-specific methods.
|
Modifier and Type | Method and Description |
---|---|
<C,B> Optional<LuceneSearchPredicateFactoryContext> |
LuceneExtension.extendOptional(SearchPredicateFactoryContext original,
SearchPredicateBuilderFactory<C,B> factory)
Attempt to extend a given context, returning an empty
Optional in case of failure. |
Modifier and Type | Interface and Description |
---|---|
interface |
LuceneSearchPredicateFactoryContext
A DSL context allowing to specify the type of a predicate, with some Lucene-specific methods.
|
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryContext |
MappedIndexSearchTarget.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,SearchPredicate> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.filter(Function<? super SearchPredicateFactoryContext,SearchPredicate> clauseContributor)
Add a "filter" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.must(Function<? super SearchPredicateFactoryContext,SearchPredicate> clauseContributor)
Add a "must" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.mustNot(Function<? super SearchPredicateFactoryContext,SearchPredicate> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
SearchPredicateTerminalContext |
NestedPredicateFieldContext.nest(Function<? super SearchPredicateFactoryContext,SearchPredicate> predicateContributor)
Create a context allowing to define the inner predicate,
and apply a consumer to it.
|
SearchPredicate |
SearchPredicateFactoryExtensionContext.orElse(Function<SearchPredicateFactoryContext,SearchPredicate> 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,SearchPredicate> 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,SearchPredicate> predicateContributor) |
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryContext |
FullTextSearchTarget.predicate() |
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryContext |
HibernateOrmSearchTarget.predicate() |
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryContext |
PojoSearchTargetDelegate.predicate() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.