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 Details

    • TYPE_REF

      public static final com.fasterxml.jackson.core.type.TypeReference<Map<String,Object>> 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 interface PutMappingBuilder<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

      protected Map<String,Object> getPropertiesMap(IndexMappingConfiguration mappingConfiguration)