Package | Description |
---|---|
org.hibernate.search.engine.search.dsl.projection | |
org.hibernate.search.engine.search.dsl.projection.spi |
Modifier and Type | Method and Description |
---|---|
<T> SearchProjectionFactoryExtensionContext<T,R,O> |
SearchProjectionFactoryContext.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> SearchProjectionFactoryExtensionContext<P,R,O> |
SearchProjectionFactoryExtensionContext.ifSupported(SearchProjectionFactoryContextExtension<T,R,O> extension,
Function<T,? extends SearchProjectionTerminalContext<P>> projectionContributor)
If the given extension is supported, and none of the previous extensions passed to
ifSupported(SearchProjectionFactoryContextExtension, Function)
was supported, extend the current context with this extension,
apply the given function to the extended context, and store the resulting projection for later retrieval. |
Modifier and Type | Method and Description |
---|---|
<P> SearchProjectionFactoryExtensionContext<P,R,O> |
DelegatingSearchProjectionFactoryContext.extension() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.