Class ElasticsearchIndexStateResolver
java.lang.Object
io.jmix.search.index.impl.IndexStateResolver<co.elastic.clients.elasticsearch.indices.IndexState,co.elastic.clients.json.JsonpSerializable>
io.jmix.searchelasticsearch.index.impl.ElasticsearchIndexStateResolver
@Component("search_ElasticsearchMetadataResolver")
public class ElasticsearchIndexStateResolver
extends IndexStateResolver<co.elastic.clients.elasticsearch.indices.IndexState,co.elastic.clients.json.JsonpSerializable>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final co.elastic.clients.elasticsearch.ElasticsearchClient
Fields inherited from class io.jmix.search.index.impl.IndexStateResolver
jsonpSerializer, objectMapper
-
Constructor Summary
ConstructorDescriptionElasticsearchIndexStateResolver
(ElasticsearchJsonpSerializer jsonpSerializer, co.elastic.clients.elasticsearch.ElasticsearchClient client) -
Method Summary
Methods inherited from class io.jmix.search.index.impl.IndexStateResolver
getSerializedState, getState
-
Field Details
-
client
protected final co.elastic.clients.elasticsearch.ElasticsearchClient client
-
-
Constructor Details
-
ElasticsearchIndexStateResolver
public ElasticsearchIndexStateResolver(ElasticsearchJsonpSerializer jsonpSerializer, co.elastic.clients.elasticsearch.ElasticsearchClient client)
-
-
Method Details
-
getIndexMetadataMapInternal
protected Map<String,co.elastic.clients.elasticsearch.indices.IndexState> getIndexMetadataMapInternal(String indexName) - Specified by:
getIndexMetadataMapInternal
in classIndexStateResolver<co.elastic.clients.elasticsearch.indices.IndexState,
co.elastic.clients.json.JsonpSerializable>
-