public abstract class IndexMapping extends Object implements IndexMappingTemplate
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_MESSAGE |
| Constructor and Description |
|---|
IndexMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Map<String,Map<String,Object>>> |
dynamicTemplate() |
protected Map<String,Boolean> |
enabled() |
protected abstract Map<String,Map<String,Object>> |
fieldProperties(String analyzer) |
protected Map<String,Object> |
messageMapping(String analyzer) |
Map<String,Object> |
messageTemplate(String template,
String analyzer) |
Map<String,Object> |
messageTemplate(String template,
String analyzer,
int order) |
protected abstract Map<String,Object> |
notAnalyzedString() |
Map<String,Object> |
toTemplate(IndexSetConfig indexSetConfig,
String indexPattern,
int order)
Returns the index template as a map.
|
protected Map<String,Object> |
typeTimeWithMillis() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoTemplatepublic static final String TYPE_MESSAGE
public Map<String,Object> toTemplate(IndexSetConfig indexSetConfig, String indexPattern, int order)
IndexMappingTemplatetoTemplate in interface IndexMappingTemplateindexSetConfig - the index set configurationindexPattern - the index pattern the returned template should be applied toorder - the order value of the index templatepublic Map<String,Object> messageTemplate(String template, String analyzer, int order)
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.