All Implemented Interfaces:
NamedWriteable, Writeable, PostAnalysisPlanVerificationAware, Resolvable, LicenseAware, ToAggregator

public class SpatialCentroid extends SpatialAggregateFunction implements ToAggregator
Calculate spatial centroid of all geo_point, cartesian_point, geo_shape, or cartesian_shape values of a field in matching documents.