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 MapperBuilderContext
A context to use to build metadata fields.boolean
Is the_source
field being reconstructed on the fly?static MapperBuilderContext
root
(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_source
field being reconstructed on the fly?
-