Package org.elasticsearch.index.mapper
Class ObjectMapper.Builder
java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.ObjectMapper.Builder
- Direct Known Subclasses:
RootObjectMapper.Builder
- Enclosing class:
- ObjectMapper
-
Field Summary
Modifier and TypeFieldDescriptionprotected ObjectMapper.Dynamic
protected Version
protected List<Mapper.Builder>
protected ObjectMapper.Nested
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.protected ObjectMapper
createMapper(String name, String fullPath, Explicit<Boolean> enabled, ObjectMapper.Nested nested, ObjectMapper.Dynamic dynamic, Map<String,Mapper> mappers, Version indexCreatedVersion)
dynamic(ObjectMapper.Dynamic dynamic)
enabled(boolean enabled)
nested(ObjectMapper.Nested nested)
Methods inherited from class org.elasticsearch.index.mapper.Mapper.Builder
name
-
Field Details
-
enabled
-
nested
-
dynamic
-
mappersBuilders
-
indexCreatedVersion
-
-
Constructor Details
-
Builder
-
-
Method Details
-
enabled
-
dynamic
-
nested
-
add
-
build
Description copied from class:Mapper.Builder
Returns a newly built mapper.- Specified by:
build
in classMapper.Builder
-
createMapper
protected ObjectMapper createMapper(String name, String fullPath, Explicit<Boolean> enabled, ObjectMapper.Nested nested, ObjectMapper.Dynamic dynamic, Map<String,Mapper> mappers, Version indexCreatedVersion)
-