| Modifier and Type | Method and Description |
|---|---|
SearchSortFactory |
MappedIndexScope.sort() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SearchQueryOptionsStep<S extends SearchQueryOptionsStep<?,H,LOS,SF,AF>,H,LOS,SF extends SearchSortFactory,AF extends SearchAggregationFactory>
The final step in a query definition, where optional parameters such as
sorts can be set,
and where the query can be executed or retrieved as an object. |
| 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> |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SF |
AbstractSearchQueryOptionsStep.extendSortFactory(SearchSortFactory sortFactory) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExtendedSearchSortFactory<PDF extends SearchPredicateFactory>
A base interface for subtypes of
SearchSortFactory allowing to
easily override the predicate factory type for all relevant methods. |
| Modifier and Type | Method and Description |
|---|---|
SearchSortFactory |
SortThenStep.then()
Start defining another sort, to be applied after the current one.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
SearchSortFactoryExtension.extendOptional(SearchSortFactory original,
SearchSortDslContext<?,?,?> dslContext)
Attempt to extend a given factory, returning an empty
Optional in case of failure. |
| Modifier and Type | Method and Description |
|---|---|
SortThenStep |
SearchSortFactoryExtensionIfSupportedMoreStep.orElse(Function<SearchSortFactory,? extends SortFinalStep> sortContributor)
If no extension passed to
SearchSortFactoryExtensionIfSupportedStep.ifSupported(SearchSortFactoryExtension, Function)
was supported so far, apply the given consumer to the current (non-extended) SearchSortFactory;
otherwise return the sort created in the first succeeding ifSupported call. |
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSearchSortFactory<PDF extends SearchPredicateFactory>
A delegating
SearchSortFactory. |
| Modifier and Type | Method and Description |
|---|---|
protected SearchSortFactory |
DelegatingSearchSortFactory.getDelegate() |
SearchSortFactory |
AbstractSortThenStep.then() |
| Constructor and Description |
|---|
DelegatingSearchSortFactory(SearchSortFactory delegate,
SearchSortDslContext<?,?,? extends PDF> dslContext) |
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.