Class ElasticsearchPutMappingRequestBuilder
java.lang.Object
io.jmix.searchelasticsearch.index.impl.ElasticsearchPutMappingRequestBuilder
- All Implemented Interfaces:
PutMappingBuilder<co.elastic.clients.elasticsearch.indices.PutMappingRequest,
co.elastic.clients.json.JsonpMapper>
@Component("search_ElasticsearchPutMappingBuilder")
public class ElasticsearchPutMappingRequestBuilder
extends Object
implements PutMappingBuilder<co.elastic.clients.elasticsearch.indices.PutMappingRequest,co.elastic.clients.json.JsonpMapper>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionco.elastic.clients.elasticsearch.indices.PutMappingRequest
buildRequest
(IndexMappingConfiguration mappingConfiguration, String indexName, co.elastic.clients.json.JsonpMapper jsonpMapper) protected InputStream
getMappingAsStream
(String indexName, IndexMappingConfiguration mapping)
-
Field Details
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
ElasticsearchPutMappingRequestBuilder
public ElasticsearchPutMappingRequestBuilder()
-
-
Method Details
-
buildRequest
public co.elastic.clients.elasticsearch.indices.PutMappingRequest buildRequest(IndexMappingConfiguration mappingConfiguration, String indexName, co.elastic.clients.json.JsonpMapper jsonpMapper) - Specified by:
buildRequest
in interfacePutMappingBuilder<co.elastic.clients.elasticsearch.indices.PutMappingRequest,
co.elastic.clients.json.JsonpMapper>
-
getMappingAsStream
-