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