Package org.nuxeo.ecm.core.search
Class AbstractSearchResponseTransformer<R>
java.lang.Object
org.nuxeo.ecm.core.search.AbstractSearchResponseTransformer<R>
- Type Parameters:
R
- the client search response type
- All Implemented Interfaces:
BiFunction<SearchQuery,
,R, SearchResponse> SearchResponseTransformer<R>
- Direct Known Subclasses:
OpenSearchResponseTransformer
,RepositorySearchResponseTransformer
public abstract class AbstractSearchResponseTransformer<R>
extends Object
implements SearchResponseTransformer<R>
- Since:
- 2025.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSearchResponseTransformer
(Set<SearchClient.Capability> supportedCapabilities) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addIfNotSupported
(List<SearchClient.Capability> missingCapabilities, SearchClient.Capability capability) protected List
<SearchClient.Capability> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
Field Details
-
supportedCapabilities
-
-
Constructor Details
-
AbstractSearchResponseTransformer
-
-
Method Details
-
getMissingCapabilities
-
addIfNotSupported
protected void addIfNotSupported(List<SearchClient.Capability> missingCapabilities, SearchClient.Capability capability)
-