Package org.elasticsearch.index.mapper
Class AbstractGeometryFieldMapper.Parser<T>
java.lang.Object
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.Parser<T>
- Direct Known Subclasses:
AbstractPointGeometryFieldMapper.PointParser
,GeoShapeParser
- Enclosing class:
- AbstractGeometryFieldMapper<T>
Interface representing parser in geometry indexing pipeline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
parse(org.elasticsearch.common.xcontent.XContentParser parser, org.elasticsearch.core.CheckedConsumer<T,IOException> consumer, Consumer<Exception> onMalformed)
Parse the given xContent value to one or more objects of typeAbstractGeometryFieldMapper.Parser
.
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
parse
public abstract void parse(org.elasticsearch.common.xcontent.XContentParser parser, org.elasticsearch.core.CheckedConsumer<T,IOException> consumer, Consumer<Exception> onMalformed) throws IOExceptionParse the given xContent value to one or more objects of typeAbstractGeometryFieldMapper.Parser
. The value can be in any supported format.- Throws:
IOException
-