Class OpenSearchIndexSettingsComparator
java.lang.Object
io.jmix.search.index.impl.IndexSettingsComparator<org.opensearch.client.opensearch.indices.IndexState,org.opensearch.client.opensearch.indices.IndexSettings,org.opensearch.client.json.JsonpSerializable>
io.jmix.searchopensearch.index.impl.OpenSearchIndexSettingsComparator
@Component("search_OpenSearchIndexSettingsComparator")
public class OpenSearchIndexSettingsComparator
extends IndexSettingsComparator<org.opensearch.client.opensearch.indices.IndexState,org.opensearch.client.opensearch.indices.IndexSettings,org.opensearch.client.json.JsonpSerializable>
-
Field Summary
Fields inherited from class io.jmix.search.index.impl.IndexSettingsComparator
jsonNodesComparator, jsonpSerializer
-
Constructor Summary
ConstructorDescriptionOpenSearchIndexSettingsComparator
(OpenSearchJsonpSerializer jsonpSerializer, JsonNodesComparator jsonNodesComparator, OpenSearchIndexSettingsProvider settingsProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<org.opensearch.client.opensearch.indices.IndexSettings>
extractAppliedIndexSettings
(org.opensearch.client.opensearch.indices.IndexState indexState) protected org.opensearch.client.json.JsonpSerializable
getExpectedIndexSettings
(IndexConfiguration indexConfiguration) Methods inherited from class io.jmix.search.index.impl.IndexSettingsComparator
compareSettings, getAppliedIndexSettings
-
Field Details
-
settingsProvider
-
-
Constructor Details
-
OpenSearchIndexSettingsComparator
public OpenSearchIndexSettingsComparator(OpenSearchJsonpSerializer jsonpSerializer, JsonNodesComparator jsonNodesComparator, OpenSearchIndexSettingsProvider settingsProvider)
-
-
Method Details
-
extractAppliedIndexSettings
protected Optional<org.opensearch.client.opensearch.indices.IndexSettings> extractAppliedIndexSettings(org.opensearch.client.opensearch.indices.IndexState indexState) - Specified by:
extractAppliedIndexSettings
in classIndexSettingsComparator<org.opensearch.client.opensearch.indices.IndexState,
org.opensearch.client.opensearch.indices.IndexSettings, org.opensearch.client.json.JsonpSerializable>
-
getExpectedIndexSettings
protected org.opensearch.client.json.JsonpSerializable getExpectedIndexSettings(IndexConfiguration indexConfiguration) - Specified by:
getExpectedIndexSettings
in classIndexSettingsComparator<org.opensearch.client.opensearch.indices.IndexState,
org.opensearch.client.opensearch.indices.IndexSettings, org.opensearch.client.json.JsonpSerializable>
-