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(String type,
Mapper.TypeParser typeParser)
putRootTypeParser
public void putRootTypeParser(String type,
Mapper.TypeParser typeParser)
parserContext
public Mapper.TypeParser.ParserContext parserContext()
parse
public DocumentMapper parse(String source)
throws MapperParsingException
- Throws:
MapperParsingException
parse
public DocumentMapper parse(@Nullable
String type,
String source)
throws MapperParsingException
- Throws:
MapperParsingException
parse
public DocumentMapper parse(@Nullable
String type,
String source,
String defaultSource)
throws MapperParsingException
- Throws:
MapperParsingException
Copyright © 2009-2012. All Rights Reserved.