Class ElasticsearchIndexMappingComparator
java.lang.Object
io.jmix.search.index.impl.IndexMappingComparator<co.elastic.clients.elasticsearch.indices.IndexState,co.elastic.clients.json.JsonpSerializable>
io.jmix.searchelasticsearch.index.impl.ElasticsearchIndexMappingComparator
@Component("search_ElasticsearchIndexMappingComparator")
public class ElasticsearchIndexMappingComparator
extends IndexMappingComparator<co.elastic.clients.elasticsearch.indices.IndexState,co.elastic.clients.json.JsonpSerializable>
-
Field Summary
Fields inherited from class io.jmix.search.index.impl.IndexMappingComparator
jsonpSerializer, MAP_TYPE_REF, mappingFieldComparator, objectMapper
-
Constructor Summary
ConstructorDescriptionElasticsearchIndexMappingComparator
(MappingFieldComparator mappingFieldComparator, ElasticsearchJsonpSerializer jsonpSerializer) -
Method Summary
Modifier and TypeMethodDescriptionprotected co.elastic.clients.json.JsonpSerializable
extractTypeMapping
(co.elastic.clients.elasticsearch.indices.IndexState indexState) Methods inherited from class io.jmix.search.index.impl.IndexMappingComparator
compare, getAppliedMapping, getExpectedMapping, getFilteredMapping
-
Constructor Details
-
ElasticsearchIndexMappingComparator
public ElasticsearchIndexMappingComparator(MappingFieldComparator mappingFieldComparator, ElasticsearchJsonpSerializer jsonpSerializer)
-
-
Method Details
-
extractTypeMapping
@Nullable protected co.elastic.clients.json.JsonpSerializable extractTypeMapping(co.elastic.clients.elasticsearch.indices.IndexState indexState) - Specified by:
extractTypeMapping
in classIndexMappingComparator<co.elastic.clients.elasticsearch.indices.IndexState,
co.elastic.clients.json.JsonpSerializable>
-