Package org.elasticsearch.index.mapper
Class RootObjectMapper
java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.ObjectMapper
org.elasticsearch.index.mapper.RootObjectMapper
- All Implemented Interfaces:
Cloneable,Iterable<Mapper>,ToXContent,ToXContentFragment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.ObjectMapper
ObjectMapper.DynamicNested 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, mappersFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectMapperclone()booleanPublic APIprotected voiddoMerge(ObjectMapper mergeWith, MapperService.MergeReason reason) protected voiddoXContent(XContentBuilder builder, ToXContent.Params params) Public APIPublic APIvoidRemoves redundant root includes inNestedObjectMappertrees to avoid duplicate fields on the root mapper whenisIncludeInRootistruefor a node that is itself included into a parent node, for which eitherisIncludeInRootistrueor which is transitively included in root by a chain of nodes withisIncludeInParentreturningtrue.merge(Mapper mergeWith, MapperService.MergeReason reason) booleanPublic APIMethods inherited from class org.elasticsearch.index.mapper.ObjectMapper
dynamic, fullPath, getMapper, isEnabled, isNested, iterator, merge, name, putMapper, serializeMappers, toXContent, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
simpleNameMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
fixRedundantIncludes
public void fixRedundantIncludes()Removes redundant root includes inNestedObjectMappertrees to avoid duplicate fields on the root mapper whenisIncludeInRootistruefor a node that is itself included into a parent node, for which eitherisIncludeInRootistrueor which is transitively included in root by a chain of nodes withisIncludeInParentreturningtrue. -
clone
- Overrides:
clonein classObjectMapper
-
dateDetection
public boolean dateDetection()Public API -
numericDetection
public boolean numericDetection()Public API -
dynamicDateTimeFormatters
Public API -
dynamicTemplates
Public API -
merge
- Overrides:
mergein classObjectMapper
-
doMerge
- Overrides:
doMergein classObjectMapper
-
doXContent
- Overrides:
doXContentin classObjectMapper- Throws:
IOException
-