Interface IndexMappingTemplate

All Known Implementing Classes:
EventsIndexMapping, EventsIndexMapping7, IndexMapping, IndexMapping7

public interface IndexMappingTemplate
Implementing classes provide an index mapping template representation that can be stored in Elasticsearch.
  • Method Details

    • toTemplate

      Template toTemplate(IndexSetMappingTemplate indexSetConfig, Long order)
      Returns the index template as a map.
      Parameters:
      indexSetConfig - template-related index set configuration
      order - the order value of the index template
      Returns:
      the index template
    • toTemplate

      default Template toTemplate(IndexSetMappingTemplate indexSetConfig)
      Returns the index template as a map. (with a default order of -1)
      Parameters:
      indexSetConfig - template-related index set configuration
      Returns:
      the index template