Class ParsedGeoHashGridBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.geogrid.ParsedGeoGridBucket
org.elasticsearch.search.aggregations.bucket.geogrid.ParsedGeoHashGridBucket
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,GeoGrid.Bucket,MultiBucketsAggregation.Bucket,HasAggregations
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.ParsedGeoGridBucket
hashAsStringFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.ParsedGeoGridBucket
keyToXContentMethods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
getAggregations, getDocCount, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed, toXContentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregations, getDocCountMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
isFragment, toXContent
-
Constructor Details
-
ParsedGeoHashGridBucket
public ParsedGeoHashGridBucket()
-
-
Method Details
-
getKey
- Returns:
- The key associated with the bucket
-
getKeyAsString
- Specified by:
getKeyAsStringin interfaceMultiBucketsAggregation.Bucket- Overrides:
getKeyAsStringin classParsedMultiBucketAggregation.ParsedBucket- Returns:
- The key associated with the bucket as a string
-