Package org.elasticsearch.index.mapper
Class ObjectMapper.TypeParser
java.lang.Object
org.elasticsearch.index.mapper.ObjectMapper.TypeParser
- All Implemented Interfaces:
Mapper.TypeParser
- Enclosing class:
- ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
parseNested(String name, Map<String,Object> node, ObjectMapper.Builder builder)
protected static boolean
parseObjectOrDocumentTypeProperties(String fieldName, Object fieldNode, MappingParserContext parserContext, ObjectMapper.Builder builder)
protected static void
parseProperties(ObjectMapper.Builder objBuilder, Map<String,Object> propsNode, MappingParserContext parserContext)
-
Constructor Details
-
TypeParser
public TypeParser()
-
-
Method Details
-
parse
public Mapper.Builder parse(String name, Map<String,Object> node, MappingParserContext parserContext) throws MapperParsingException- Specified by:
parse
in interfaceMapper.TypeParser
- Throws:
MapperParsingException
-
parseObjectOrDocumentTypeProperties
protected static boolean parseObjectOrDocumentTypeProperties(String fieldName, Object fieldNode, MappingParserContext parserContext, ObjectMapper.Builder builder) -
parseNested
protected static void parseNested(String name, Map<String,Object> node, ObjectMapper.Builder builder) -
parseProperties
protected static void parseProperties(ObjectMapper.Builder objBuilder, Map<String,Object> propsNode, MappingParserContext parserContext)
-