Package org.graylog2.indexer
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 Summary
Modifier and TypeMethodDescriptiondefault TemplatetoTemplate(IndexSetMappingTemplate indexSetConfig) Returns the index template as a map.toTemplate(IndexSetMappingTemplate indexSetConfig, Long order) Returns the index template as a map.
-
Method Details
-
toTemplate
Returns the index template as a map.- Parameters:
indexSetConfig- template-related index set configurationorder- the order value of the index template- Returns:
- the index template
-
toTemplate
Returns the index template as a map. (with a default order of -1)- Parameters:
indexSetConfig- template-related index set configuration- Returns:
- the index template
-