Package org.elasticsearch.index.mapper
Class IgnoredFieldMapper.TypeParser
- java.lang.Object
-
- org.elasticsearch.index.mapper.IgnoredFieldMapper.TypeParser
-
- All Implemented Interfaces:
Mapper.TypeParser
,MetadataFieldMapper.TypeParser
- Enclosing class:
- IgnoredFieldMapper
public static class IgnoredFieldMapper.TypeParser extends java.lang.Object implements MetadataFieldMapper.TypeParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.index.mapper.Mapper.TypeParser
Mapper.TypeParser.ParserContext
-
-
Constructor Summary
Constructors Constructor Description TypeParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataFieldMapper
getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)
Get the defaultMetadataFieldMapper
to use, if nothing had to be parsed.MetadataFieldMapper.Builder<?,?>
parse(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> node, Mapper.TypeParser.ParserContext parserContext)
-
-
-
Method Detail
-
parse
public MetadataFieldMapper.Builder<?,?> parse(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> node, Mapper.TypeParser.ParserContext parserContext) throws MapperParsingException
- Specified by:
parse
in interfaceMapper.TypeParser
- Specified by:
parse
in interfaceMetadataFieldMapper.TypeParser
- Throws:
MapperParsingException
-
getDefault
public MetadataFieldMapper getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)
Description copied from interface:MetadataFieldMapper.TypeParser
Get the defaultMetadataFieldMapper
to use, if nothing had to be parsed.- Specified by:
getDefault
in interfaceMetadataFieldMapper.TypeParser
- Parameters:
fieldType
- the existing field type for this meta mapper on the current index or null if this is the first type being introducedcontext
- context that may be useful to build the field like analyzers
-
-