| Package | Description |
|---|---|
| org.hibernate.search.engine.search.dsl.sort | |
| org.hibernate.search.engine.search.dsl.sort.spi |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CompositeSortContext
The context used when defining a composite sort explicitly
(not using
then()). |
interface |
DistanceSortContext
The context used when defining a field sort.
|
interface |
FieldSortContext
The context used when defining a field sort.
|
interface |
ScoreSortContext
The context used when defining a score sort.
|
| Modifier and Type | Method and Description |
|---|---|
NonEmptySortContext |
SearchSortFactoryContext.byComposite(Consumer<? super CompositeSortContext> elementContributor)
Order by a sort composed of several elements,
which will be defined by the given consumer.
|
NonEmptySortContext |
SearchSortFactoryContext.byIndexOrder()
Order elements by their internal index order.
|
NonEmptySortContext |
SearchSortFactoryExtensionContext.orElse(Function<SearchSortFactoryContext,? extends SearchSortTerminalContext> sortContributor)
If no extension passed to
SearchSortFactoryExtensionContext.ifSupported(SearchSortFactoryContextExtension, Function)
was supported so far, apply the given consumer to the current (non-extended) SearchSortFactoryContext;
otherwise do nothing. |
NonEmptySortContext |
SearchSortFactoryExtensionContext.orElseFail()
If no extension passed to
SearchSortFactoryExtensionContext.ifSupported(SearchSortFactoryContextExtension, Function)
was supported so far, throw an exception; otherwise do nothing. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNonEmptySortContext<B> |
class |
StaticNonEmptySortContext<B> |
| Modifier and Type | Method and Description |
|---|---|
NonEmptySortContext |
DelegatingSearchSortFactoryContext.byComposite(Consumer<? super CompositeSortContext> elementContributor) |
NonEmptySortContext |
DelegatingSearchSortFactoryContext.byIndexOrder() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.