public class ParsedGeoCentroid extends ParsedAggregation implements GeoCentroid
GeoCentroidAggregator.Aggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmetadataTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
ParsedGeoCentroid() |
| Modifier and Type | Method and Description |
|---|---|
GeoPoint |
centroid() |
long |
count() |
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
static ParsedGeoCentroid |
fromXContent(XContentParser parser,
java.lang.String name) |
java.lang.String |
getType() |
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaData, getNameisFragmenttoXContentpublic GeoPoint centroid()
centroid in interface GeoCentroidpublic long count()
count in interface GeoCentroidpublic java.lang.String getType()
getType in interface Aggregationpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class ParsedAggregationjava.io.IOExceptionpublic static ParsedGeoCentroid fromXContent(XContentParser parser, java.lang.String name)