ToXContent
, GeoHashGrid.Bucket
, MultiBucketsAggregation.Bucket
, HasAggregations
public static class ParsedGeoHashGrid.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements GeoHashGrid.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedBucket() |
Modifier and Type | Method | Description |
---|---|---|
GeoPoint |
getKey() |
|
java.lang.String |
getKeyAsString() |
|
protected XContentBuilder |
keyToXContent(XContentBuilder builder) |
getAggregations, getDocCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed, toXContent
isFragment, toXContent
public GeoPoint getKey()
getKey
in interface MultiBucketsAggregation.Bucket
public java.lang.String getKeyAsString()
getKeyAsString
in interface MultiBucketsAggregation.Bucket
getKeyAsString
in class ParsedMultiBucketAggregation.ParsedBucket
protected XContentBuilder keyToXContent(XContentBuilder builder) throws java.io.IOException
keyToXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException