|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.mapper.json.JsonDocumentMapperParser
public class JsonDocumentMapperParser
Constructor Summary | |
---|---|
JsonDocumentMapperParser(AnalysisService analysisService)
|
Method Summary | |
---|---|
DocumentMapper |
parse(java.lang.String source)
Parses the source mapping definition into a document mapper. |
DocumentMapper |
parse(java.lang.String type,
java.lang.String source)
Parses the source mapping definition into a document mapper with the specified type (overriding the one defined in the source mapping). |
void |
putTypeParser(java.lang.String type,
JsonTypeParser typeParser)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonDocumentMapperParser(AnalysisService analysisService)
Method Detail |
---|
public void putTypeParser(java.lang.String type, JsonTypeParser typeParser)
public DocumentMapper parse(java.lang.String source) throws MapperParsingException
DocumentMapperParser
parse
in interface DocumentMapperParser
MapperParsingException
public DocumentMapper parse(java.lang.String type, java.lang.String source) throws MapperParsingException
DocumentMapperParser
parse
in interface DocumentMapperParser
MapperParsingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |