java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.ObjectMapper
org.elasticsearch.index.mapper.RootObjectMapper
- All Implemented Interfaces:
Iterable<Mapper>,ToXContent,ToXContentFragment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.ObjectMapper
ObjectMapper.Dynamic, ObjectMapper.MergeResult, ObjectMapper.TypeParserNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.ObjectMapper
CONTENT_TYPE, dynamic, enabled, mappers, subobjectsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionprotected MapperBuilderContextcreateChildContext(MapperBuilderContext mapperBuilderContext, String name) booleanPublic APIprotected voiddoXContent(XContentBuilder builder, ToXContent.Params params) Public APIPublic APImerge(Mapper mergeWith, MapperService.MergeReason reason, MapperBuilderContext parentBuilderContext) newBuilder(IndexVersion indexVersionCreated) booleanPublic APIstatic RootObjectMapper.Builderprotected voidMethods inherited from class org.elasticsearch.index.mapper.ObjectMapper
dynamic, fullPath, getMapper, isEnabled, isNested, iterator, merge, name, serializeMappers, subobjects, syntheticFieldLoader, syntheticFieldLoader, toXContent, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
freezeAndDeduplicateFieldType, internFieldName, simpleName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
newBuilder
- Overrides:
newBuilderin classObjectMapper- Returns:
- a Builder that will produce an empty ObjectMapper with the same configuration as this one
-
dateDetection
public boolean dateDetection()Public API -
numericDetection
public boolean numericDetection()Public API -
dynamicDateTimeFormatters
Public API -
dynamicTemplates
Public API -
createChildContext
protected MapperBuilderContext createChildContext(MapperBuilderContext mapperBuilderContext, String name) - Overrides:
createChildContextin classObjectMapper
-
merge
public RootObjectMapper merge(Mapper mergeWith, MapperService.MergeReason reason, MapperBuilderContext parentBuilderContext) - Overrides:
mergein classObjectMapper
-
doXContent
- Overrides:
doXContentin classObjectMapper- Throws:
IOException
-
startSyntheticField
- Overrides:
startSyntheticFieldin classObjectMapper- Throws:
IOException
-
parse
public static RootObjectMapper.Builder parse(String name, Map<String, Object> node, MappingParserContext parserContext) throws MapperParsingException- Throws:
MapperParsingException
-