org.elasticsearch.index.mapper
Class DocumentMapperParser
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.mapper.DocumentMapperParser
- All Implemented Interfaces:
- IndexComponent
public class DocumentMapperParser
- extends AbstractIndexComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentMapperParser
public DocumentMapperParser(Index index,
AnalysisService analysisService)
DocumentMapperParser
public DocumentMapperParser(Index index,
@IndexSettings
Settings indexSettings,
AnalysisService analysisService)
putTypeParser
public void putTypeParser(java.lang.String type,
Mapper.TypeParser typeParser)
parserContext
public Mapper.TypeParser.ParserContext parserContext()
parse
public DocumentMapper parse(java.lang.String source)
throws MapperParsingException
- Throws:
MapperParsingException
parse
public DocumentMapper parse(@Nullable
java.lang.String type,
java.lang.String source)
throws MapperParsingException
- Throws:
MapperParsingException
parse
public DocumentMapper parse(@Nullable
java.lang.String type,
java.lang.String source,
java.lang.String defaultSource)
throws MapperParsingException
- Throws:
MapperParsingException