Package | Description |
---|---|
org.hibernate.search.engine.search.dsl.predicate | |
org.hibernate.search.engine.search.dsl.predicate.spi |
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryExtensionContext |
SearchPredicateFactoryContext.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> SearchPredicateFactoryExtensionContext |
SearchPredicateFactoryExtensionContext.ifSupported(SearchPredicateFactoryContextExtension<T> extension,
Function<T,SearchPredicate> predicateContributor)
If the given extension is supported, and none of the previous extensions passed to
ifSupported(SearchPredicateFactoryContextExtension, Function)
was supported, extend the current context with this extension,
apply the given function to the extended context, and store the resulting predicate for later retrieval. |
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryExtensionContext |
DelegatingSearchPredicateFactoryContext.extension() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.