| Modifier and Type | Method and Description |
|---|---|
S |
SearchQueryOptionsStep.sort(Function<? super SF,? extends SortFinalStep> sortContributor)
Add a sort to this query.
|
| Modifier and Type | Method and Description |
|---|---|
S |
AbstractSearchQueryOptionsStep.sort(Function<? super SF,? extends SortFinalStep> sortContributor) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CompositeSortComponentsStep<S extends CompositeSortComponentsStep<?>>
The initial and final step in a composite sort definition, where sort elements can be added.
|
interface |
DistanceSortOptionsStep<S extends DistanceSortOptionsStep<?>>
The initial and final step in a "distance" sort definition, where optional parameters can be set.
|
interface |
FieldSortOptionsStep<S extends FieldSortOptionsStep<?>>
The initial and final step in a "field" sort definition, where optional parameters can be set.
|
interface |
ScoreSortOptionsStep<S extends ScoreSortOptionsStep<?>>
The initial and final step in a "score" sort definition, where optional parameters can be set.
|
interface |
SortThenStep
The step in a sort definition where another sort can be chained.
|
| Modifier and Type | Method and Description |
|---|---|
default S |
CompositeSortComponentsStep.add(SortFinalStep dslFinalStep)
Add an element to the composite sort based on an almost-built
SearchSort. |
| Modifier and Type | Method and Description |
|---|---|
<T> SearchSortFactoryExtensionIfSupportedMoreStep |
SearchSortFactoryExtensionIfSupportedStep.ifSupported(SearchSortFactoryExtension<T> extension,
Function<T,? extends SortFinalStep> sortContributor)
If the given extension is supported, and none of the previous extensions passed to
SearchSortFactoryExtensionIfSupportedStep.ifSupported(SearchSortFactoryExtension, Function)
was supported, extend the current factory with this extension,
apply the given function to the extended factory, and store the resulting sort for later retrieval. |
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 |
AbstractSortThenStep<B> |
class |
StaticSortThenStep<B> |
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.