Package org.elasticsearch.index.mapper
Class RootObjectMapper.Builder
java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.ObjectMapper.Builder
org.elasticsearch.index.mapper.RootObjectMapper.Builder
- Enclosing class:
- RootObjectMapper
-
Field Summary
Modifier and TypeFieldDescriptionprotected Explicit<DateFormatter[]>
protected Explicit<DynamicTemplate[]>
protected Map<String,RuntimeField>
Fields inherited from class org.elasticsearch.index.mapper.ObjectMapper.Builder
dynamic, enabled, mappersBuilders
Fields inherited from class org.elasticsearch.index.mapper.Mapper.Builder
name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd(Mapper.Builder builder)
build(ContentPath contentPath)
Returns a newly built mapper.dynamicDateTimeFormatter(Collection<DateFormatter> dateTimeFormatters)
dynamicTemplates(Collection<DynamicTemplate> templates)
setRuntime(Map<String,RuntimeField> runtimeFields)
Methods inherited from class org.elasticsearch.index.mapper.ObjectMapper.Builder
buildMappers, dynamic, enabled
Methods inherited from class org.elasticsearch.index.mapper.Mapper.Builder
name
-
Field Details
-
dynamicTemplates
-
dynamicDateTimeFormatters
-
dateDetection
-
numericDetection
-
runtimeFields
-
-
Constructor Details
-
Builder
-
-
Method Details
-
dynamicDateTimeFormatter
public RootObjectMapper.Builder dynamicDateTimeFormatter(Collection<DateFormatter> dateTimeFormatters) -
dynamicTemplates
-
add
- Overrides:
add
in classObjectMapper.Builder
-
setRuntime
-
build
Description copied from class:Mapper.Builder
Returns a newly built mapper.- Overrides:
build
in classObjectMapper.Builder
-