Package org.elasticsearch.index.mapper
Class MapperBuilderContext
java.lang.Object
org.elasticsearch.index.mapper.MapperBuilderContext
Holds context for building Mapper objects from their Builders
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MapperBuilderContext
The root context, to be used when building a tree of mappers -
Method Summary
Modifier and TypeMethodDescriptionfinal String
buildFullName
(String name) Builds the full name of the field, taking into account parent objectscreateChildContext
(String name) Creates a new MapperBuilderContext that is a child of this contextstatic MapperBuilderContext
forPath
(ContentPath path)
-
Field Details
-
ROOT
The root context, to be used when building a tree of mappers
-
-
Method Details
-
forPath
-
createChildContext
Creates a new MapperBuilderContext that is a child of this context- Parameters:
name
- the name of the child context- Returns:
- a new MapperBuilderContext with this context as its parent
-
buildFullName
Builds the full name of the field, taking into account parent objects
-