Package | Description |
---|---|
org.hibernate.search.engine.search.dsl.sort | |
org.hibernate.search.engine.search.dsl.sort.spi |
Modifier and Type | Method and Description |
---|---|
SearchSortContainerExtensionContext |
SearchSortContainerContext.extension()
Create a context allowing to try to apply multiple extensions one after the other,
failing only if none of the extensions is supported.
|
<T> SearchSortContainerExtensionContext |
SearchSortContainerExtensionContext.ifSupported(SearchSortContainerContextExtension<T> extension,
Consumer<T> sortContributor)
If the given extension is supported, and none of the previous extensions passed to
ifSupported(SearchSortContainerContextExtension, Consumer)
was supported, extend the current context with this extension,
and apply the given consumer to the extended context. |
Modifier and Type | Method and Description |
---|---|
SearchSortContainerExtensionContext |
DelegatingSearchSortContainerContext.extension() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.