Package io.jmix.search.index.impl
Class IndexConfigurationComparator<TState,TSettings,TJsonp>
java.lang.Object
io.jmix.search.index.impl.IndexConfigurationComparator<TState,TSettings,TJsonp>
- Type Parameters:
TState
- - type of the index state objectTSettings
- - type of the settings objectTJsonp
- - Jsonp type
- Direct Known Subclasses:
ElasticsearchIndexConfigurationComparator
,OpenSearchIndexConfigurationComparator
The comparator that compares both the application's index configuration and the search index state
at the search server.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final IndexStateResolver<TState,
TJsonp> protected final IndexMappingComparator<TState,
TJsonp> protected final com.fasterxml.jackson.databind.ObjectMapper
protected final IndexSettingsComparator<TState,
TSettings, TJsonp> -
Constructor Summary
ConstructorDescriptionIndexConfigurationComparator
(IndexMappingComparator<TState, TJsonp> mappingComparator, IndexSettingsComparator<TState, TSettings, TJsonp> settingsComparator, IndexStateResolver<TState, TJsonp> indexStateResolver) -
Method Summary
Modifier and TypeMethodDescriptioncompareConfigurations
(IndexConfiguration indexConfiguration) protected abstract TState
getIndexState
(IndexConfiguration indexConfiguration)
-
Field Details
-
settingsComparator
-
mappingComparator
-
indexStateResolver
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
IndexConfigurationComparator
public IndexConfigurationComparator(IndexMappingComparator<TState, TJsonp> mappingComparator, IndexSettingsComparator<TState, TSettings, TJsonp> settingsComparator, IndexStateResolver<TState, TJsonp> indexStateResolver)
-
-
Method Details
-
compareConfigurations
-
getIndexState
-