Package io.jmix.search.index.impl
Class IndexStateResolver<TState,TJsonp>
java.lang.Object
io.jmix.search.index.impl.IndexStateResolver<TState,TJsonp>
- Type Parameters:
TState
- search client's specific index state typeTJsonp
- search client's specific Jsonp type
- Direct Known Subclasses:
ElasticsearchIndexStateResolver
,OpenSearchIndexStateResolver
Class encapsulates the logic of receiving the index state from the search engine service.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final JsonpSerializer<TJsonp>
protected final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ModifierConstructorDescriptionprotected
IndexStateResolver
(JsonpSerializer<TJsonp> jsonpSerializer) -
Method Summary
Modifier and TypeMethodDescriptiongetIndexMetadataMapInternal
(String indexName) com.fasterxml.jackson.databind.node.ObjectNode
getSerializedState
(String indexName)
-
Field Details
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
jsonpSerializer
-
-
Constructor Details
-
IndexStateResolver
-
-
Method Details
-
getSerializedState
-
getState
-
getIndexMetadataMapInternal
-