java.lang.Object
org.elasticsearch.index.mapper.MappingParser
Parser for
Mapping
provided in CompressedXContent
format-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkNoRemainingFields
(String fieldName, Map<?, ?> fieldNodeMap) Verify that there are no remaining fields in the provided map that contained mapped fieldsstatic void
checkNoRemainingFields
(Map<?, ?> fieldNodeMap, String message) Verify that there are no remaining fields in the provided map that contained mapped fields
-
Method Details
-
checkNoRemainingFields
Verify that there are no remaining fields in the provided map that contained mapped fields- Parameters:
fieldName
- the name of the field that is being parsedfieldNodeMap
- the map of fields
-
checkNoRemainingFields
Verify that there are no remaining fields in the provided map that contained mapped fields- Parameters:
fieldNodeMap
- the map of fieldsmessage
- the error message to be returned in case the provided map contains one or more fields
-