| Package | Description |
|---|---|
| org.hibernate.search.engine.search.sort.dsl | |
| org.hibernate.search.engine.search.sort.dsl.spi |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
SortThenStep |
SearchSortFactory.composite(Consumer<? super CompositeSortComponentsStep<?>> elementContributor)
Order by a sort composed of several elements,
which will be defined by the given consumer.
|
SortThenStep |
SearchSortFactory.indexOrder()
Order elements by their internal index order.
|
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. |
SortThenStep |
SearchSortFactoryExtensionIfSupportedMoreStep.orElseFail()
If no extension passed to
SearchSortFactoryExtensionIfSupportedStep.ifSupported(SearchSortFactoryExtension, Function)
was supported so far, throw an exception;
otherwise return the sort created in the first succeeding ifSupported call. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSortThenStep<B> |
class |
StaticSortThenStep<B> |
| Modifier and Type | Method and Description |
|---|---|
SortThenStep |
DelegatingSearchSortFactory.composite(Consumer<? super CompositeSortComponentsStep<?>> elementContributor) |
SortThenStep |
DelegatingSearchSortFactory.indexOrder() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.