Class OpenSearchPutMappingRequestBuilder
java.lang.Object
io.jmix.searchopensearch.index.impl.OpenSearchPutMappingRequestBuilder
- All Implemented Interfaces:
PutMappingBuilder<org.opensearch.client.opensearch.indices.PutMappingRequest,
org.opensearch.client.json.JsonpMapper>
@Component("search_OpenSearchPutMappingRequestBuilder")
public class OpenSearchPutMappingRequestBuilder
extends Object
implements PutMappingBuilder<org.opensearch.client.opensearch.indices.PutMappingRequest,org.opensearch.client.json.JsonpMapper>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Valid org.opensearch.client.opensearch.indices.PutMappingRequest
buildRequest
(IndexMappingConfiguration mappingConfiguration, String indexName, org.opensearch.client.json.JsonpMapper jsonpMapper) getPropertiesMap
(IndexMappingConfiguration mappingConfiguration) getPropertiesMap
(IndexMappingConfiguration mappingConfiguration, org.opensearch.client.json.JsonpMapper jsonpMapper, String indexName)
-
Field Details
-
TYPE_REF
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
OpenSearchPutMappingRequestBuilder
public OpenSearchPutMappingRequestBuilder()
-
-
Method Details
-
buildRequest
@Valid public @Valid org.opensearch.client.opensearch.indices.PutMappingRequest buildRequest(IndexMappingConfiguration mappingConfiguration, String indexName, org.opensearch.client.json.JsonpMapper jsonpMapper) - Specified by:
buildRequest
in interfacePutMappingBuilder<org.opensearch.client.opensearch.indices.PutMappingRequest,
org.opensearch.client.json.JsonpMapper>
-
getPropertiesMap
protected Map<String,org.opensearch.client.opensearch._types.mapping.Property> getPropertiesMap(IndexMappingConfiguration mappingConfiguration, org.opensearch.client.json.JsonpMapper jsonpMapper, String indexName) -
getPropertiesMap
-