public class ParsedGeoHashGrid extends ParsedMultiBucketAggregation<ParsedGeoHashGrid.ParsedBucket> implements GeoHashGrid
Modifier and Type | Class and Description |
---|---|
static class |
ParsedGeoHashGrid.ParsedBucket |
GeoHashGrid.Bucket
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
buckets, keyed
metadata
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Constructor and Description |
---|
ParsedGeoHashGrid() |
Modifier and Type | Method and Description |
---|---|
static ParsedGeoHashGrid |
fromXContent(XContentParser parser,
java.lang.String name) |
java.util.List<? extends GeoHashGrid.Bucket> |
getBuckets() |
java.lang.String |
getType() |
declareMultiBucketAggregationFields, doXContentBody
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetaData, getName
isFragment, toXContent
public java.lang.String getType()
getType
in interface Aggregation
public java.util.List<? extends GeoHashGrid.Bucket> getBuckets()
getBuckets
in interface GeoHashGrid
getBuckets
in interface MultiBucketsAggregation
public static ParsedGeoHashGrid fromXContent(XContentParser parser, java.lang.String name) throws java.io.IOException
java.io.IOException