| Modifier and Type | Method and Description |
|---|---|
SearchPredicateFactory |
MappedIndexScope.predicate() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AggregationFilterStep<S,PDF extends SearchPredicateFactory>
The step in an aggregation definition where a filter can be set
to select nested objects from which values will be extracted for this aggregation.
|
interface |
ExtendedSearchAggregationFactory<PDF extends SearchPredicateFactory>
A base interface for subtypes of
SearchAggregationFactory allowing to
easily override the predicate factory type for all relevant methods. |
interface |
RangeAggregationFieldStep<PDF extends SearchPredicateFactory>
The initial step in a "range" aggregation definition, where the target field can be set.
|
interface |
RangeAggregationOptionsStep<S extends RangeAggregationOptionsStep<?,PDF,F,A>,PDF extends SearchPredicateFactory,F,A>
The final step in a "range" aggregation definition, where optional parameters can be set.
|
interface |
RangeAggregationRangeMoreStep<S extends RangeAggregationRangeMoreStep<?,?,PDF,F>,N extends RangeAggregationOptionsStep<?,PDF,F,Map<Range<F>,Long>>,PDF extends SearchPredicateFactory,F>
The step in a "range" aggregation definition where optional parameters can be set,
(see the superinterface
RangeAggregationOptionsStep),
or more ranges can be added. |
interface |
RangeAggregationRangeStep<N extends RangeAggregationRangeMoreStep<?,?,PDF,F>,PDF extends SearchPredicateFactory,F>
The step in a "range" aggregation definition where the ranges can be set.
|
interface |
TermsAggregationFieldStep<PDF extends SearchPredicateFactory>
The initial step in a "terms" aggregation definition, where the target field can be set.
|
interface |
TermsAggregationOptionsStep<S extends TermsAggregationOptionsStep<?,PDF,F,A>,PDF extends SearchPredicateFactory,F,A>
The final step in a "terms" aggregation definition, where optional parameters can be set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSearchAggregationFactory<PDF extends SearchPredicateFactory>
A delegating
SearchAggregationFactory. |
interface |
SearchAggregationDslContext<F extends SearchAggregationBuilderFactory<?>,PDF extends SearchPredicateFactory>
Represents the current context in the search DSL,
including in particular the aggregation builder factory.
|
| Modifier and Type | Method and Description |
|---|---|
<PDF2 extends SearchPredicateFactory> |
SearchAggregationDslContext.withExtendedPredicateFactory(SearchPredicateFactoryExtension<PDF2> extension) |
| 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 |
SearchQuerySelectStep<N extends SearchQueryOptionsStep<?,E,LOS,?,?>,R,E,LOS,PJF extends SearchProjectionFactory<R,E>,PDF extends SearchPredicateFactory>
The initial step in a query definition, where the element used to represent query hits,
i.e.
|
interface |
SearchQueryWhereStep<N extends SearchQueryOptionsStep<?,H,?,?,?>,H,PDF extends SearchPredicateFactory>
The step in a query definition where the predicate, i.e.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExtendedSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,H,LOS,SF,AF>,H,R extends SearchResult<H>,LOS,PDF extends SearchPredicateFactory,SF extends SearchSortFactory,AF extends SearchAggregationFactory,C> |
class |
AbstractSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,H,LOS,SF,AF>,H,LOS,PDF extends SearchPredicateFactory,SF extends SearchSortFactory,AF extends SearchAggregationFactory,C> |
class |
AbstractSearchQuerySelectStep<N extends SearchQueryOptionsStep<?,E,LOS,?,?>,R,E,LOS,PJF extends SearchProjectionFactory<R,E>,PDF extends SearchPredicateFactory,C> |
| Modifier and Type | Method and Description |
|---|---|
protected abstract PDF |
AbstractSearchQueryOptionsStep.extendPredicateFactory(SearchPredicateFactory predicateFactory) |
| Modifier and Type | Method and Description |
|---|---|
SearchQueryOptionsStep<?,E,LOS,?,?> |
AbstractDelegatingSearchQuerySelectStep.where(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> predicateContributor) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DistanceSortOptionsStep<S extends DistanceSortOptionsStep<?,PDF>,PDF extends SearchPredicateFactory>
The initial and final step in a "distance" sort definition, where optional parameters can be set.
|
interface |
ExtendedSearchSortFactory<PDF extends SearchPredicateFactory>
A base interface for subtypes of
SearchSortFactory allowing to
easily override the predicate factory type for all relevant methods. |
interface |
FieldSortOptionsStep<S extends FieldSortOptionsStep<?,PDF>,PDF extends SearchPredicateFactory>
The initial and final step in a "field" sort definition, where optional parameters can be set.
|
interface |
SortFilterStep<S,PDF extends SearchPredicateFactory>
The step in a sort definition where a filter can be set
to select nested objects from which values will be extracted for this sort.
|
| Modifier and Type | Method and Description |
|---|---|
default DistanceSortOptionsStep<?,? extends SearchPredicateFactory> |
SearchSortFactory.distance(String absoluteFieldPath,
double latitude,
double longitude)
Order elements by the distance from the location stored in the specified field to the location specified.
|
DistanceSortOptionsStep<?,? extends SearchPredicateFactory> |
SearchSortFactory.distance(String absoluteFieldPath,
GeoPoint location)
Order elements by the distance from the location stored in the specified field to the location specified.
|
FieldSortOptionsStep<?,? extends SearchPredicateFactory> |
SearchSortFactory.field(String absoluteFieldPath)
Order elements by the value of a specific field.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSearchSortFactory<PDF extends SearchPredicateFactory>
A delegating
SearchSortFactory. |
interface |
SearchSortDslContext<F extends SearchSortBuilderFactory<?,B>,B,PDF extends SearchPredicateFactory>
Represents the current context in the search DSL,
including in particular the sort builder factory
and the knowledge of previous sorts chained using
SortThenStep.then(). |
| Modifier and Type | Method and Description |
|---|---|
<PDF2 extends SearchPredicateFactory> |
SearchSortDslContext.withExtendedPredicateFactory(SearchPredicateFactoryExtension<PDF2> extension) |
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.