java.lang.Object
org.elasticsearch.index.mapper.MapperBuilderContext
Holds context for building Mapper objects from their Builders
-
Method Summary
Modifier and TypeMethodDescriptionbuildFullName(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 MapperBuilderContextA context to use to build metadata fields.booleanIs the_sourcefield being reconstructed on the fly?static MapperBuilderContextroot(boolean isSourceSynthetic) The root context, to be used when building a tree of mappers
-
Method Details
-
root
The root context, to be used when building a tree of mappers -
forMetadata
A context to use to build metadata fields. -
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 -
isSourceSynthetic
public boolean isSourceSynthetic()Is the_sourcefield being reconstructed on the fly?
-