Class ElastisearchIndexSettingsComparator
java.lang.Object
io.jmix.search.index.impl.IndexSettingsComparator<co.elastic.clients.elasticsearch.indices.IndexState,co.elastic.clients.elasticsearch.indices.IndexSettings,co.elastic.clients.json.JsonpSerializable>
io.jmix.searchelasticsearch.index.impl.ElastisearchIndexSettingsComparator
@Component("search_ElastisearchIndexSettingsComparator")
public class ElastisearchIndexSettingsComparator
extends IndexSettingsComparator<co.elastic.clients.elasticsearch.indices.IndexState,co.elastic.clients.elasticsearch.indices.IndexSettings,co.elastic.clients.json.JsonpSerializable>
-
Field Summary
Fields inherited from class io.jmix.search.index.impl.IndexSettingsComparator
jsonNodesComparator, jsonpSerializer
-
Constructor Summary
ConstructorDescriptionElastisearchIndexSettingsComparator
(ElasticsearchJsonpSerializer jsonpSerializer, JsonNodesComparator jsonNodesComparator, ElasticsearchIndexSettingsProvider settingsProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<co.elastic.clients.elasticsearch.indices.IndexSettings>
extractAppliedIndexSettings
(co.elastic.clients.elasticsearch.indices.IndexState indexState) protected co.elastic.clients.json.JsonpSerializable
getExpectedIndexSettings
(IndexConfiguration indexConfiguration) Methods inherited from class io.jmix.search.index.impl.IndexSettingsComparator
compareSettings, getAppliedIndexSettings
-
Field Details
-
settingsProvider
-
-
Constructor Details
-
ElastisearchIndexSettingsComparator
public ElastisearchIndexSettingsComparator(ElasticsearchJsonpSerializer jsonpSerializer, JsonNodesComparator jsonNodesComparator, ElasticsearchIndexSettingsProvider settingsProvider)
-
-
Method Details
-
extractAppliedIndexSettings
protected Optional<co.elastic.clients.elasticsearch.indices.IndexSettings> extractAppliedIndexSettings(co.elastic.clients.elasticsearch.indices.IndexState indexState) - Specified by:
extractAppliedIndexSettings
in classIndexSettingsComparator<co.elastic.clients.elasticsearch.indices.IndexState,
co.elastic.clients.elasticsearch.indices.IndexSettings, co.elastic.clients.json.JsonpSerializable>
-
getExpectedIndexSettings
protected co.elastic.clients.json.JsonpSerializable getExpectedIndexSettings(IndexConfiguration indexConfiguration) - Specified by:
getExpectedIndexSettings
in classIndexSettingsComparator<co.elastic.clients.elasticsearch.indices.IndexState,
co.elastic.clients.elasticsearch.indices.IndexSettings, co.elastic.clients.json.JsonpSerializable>
-