Module org.elasticsearch.xcore
Interface GeoShapeMetricAggregation
public interface GeoShapeMetricAggregation
This interface provides a way for spatial aggs to easily provide appropriately formatted geoJSON geometry to describe their
aggregated results.
-
Method Summary
Modifier and TypeMethodDescriptionProvides the geometry calculated by the aggregation in an indexible format.
-
Method Details
-
geoJSONGeometry
Provides the geometry calculated by the aggregation in an indexible format.- Returns:
- geometry as a geoJSON object
-