Package org.elasticsearch.index.mapper
Class FieldMapper.TypeParser
org.elasticsearch.index.mapper.FieldMapper.TypeParser
- All Implemented Interfaces:
Mapper.TypeParser
- Enclosing class:
- FieldMapper
TypeParser implementation that automatically handles parsing
-
Constructor Summary
ConstructorDescription<,MappingParserContext,FieldMapper.Builder> builderFunction)
Creates a new TypeParser<,MappingParserContext,FieldMapper.Builder> builderFunction, <,MappingParserContext> contextValidator)
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
TypeParser
Creates a new TypeParser- Parameters:
builderFunction
- a function that produces a Builder from a name and parsercontext
-
TypeParser
public TypeParser(<,MappingParserContext,FieldMapper.Builder> builderFunction, <,MappingParserContext> contextValidator)
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceMapper.TypeParser
- Throws:
MapperParsingException
-