Package org.elasticsearch.index.mapper
Class GeoShapeParser
java.lang.Object
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry>
org.elasticsearch.index.mapper.GeoShapeParser
public class GeoShapeParser
extends AbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parse(org.elasticsearch.common.xcontent.XContentParser parser, org.elasticsearch.core.CheckedConsumer<org.elasticsearch.geometry.Geometry,IOException> consumer, Consumer<Exception> onMalformed)
Parse the given xContent value to one or more objects of typeAbstractGeometryFieldMapper.Parser
.
-
Constructor Details
-
GeoShapeParser
-
-
Method Details
-
parse
public void parse(org.elasticsearch.common.xcontent.XContentParser parser, org.elasticsearch.core.CheckedConsumer<org.elasticsearch.geometry.Geometry,IOException> consumer, Consumer<Exception> onMalformed) throws IOExceptionDescription copied from class:AbstractGeometryFieldMapper.Parser
Parse the given xContent value to one or more objects of typeAbstractGeometryFieldMapper.Parser
. The value can be in any supported format.- Specified by:
parse
in classAbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry>
- Throws:
IOException
-