public interface GeoHashGrid extends MultiBucketsAggregation
geohash_grid aggregation. Defines multiple buckets, each representing a cell in a geo-grid of a specific
precision.| Modifier and Type | Interface and Description |
|---|---|
static interface |
GeoHashGrid.Bucket
A bucket that is associated with a
geohash_grid cell. |
| Modifier and Type | Method and Description |
|---|---|
GeoHashGrid.Bucket |
getBucketByKey(GeoPoint key) |
GeoHashGrid.Bucket |
getBucketByKey(Number key) |
GeoHashGrid.Bucket |
getBucketByKey(String key)
The bucket that is associated with the given key.
|
Collection<GeoHashGrid.Bucket> |
getBuckets() |
getNameCollection<GeoHashGrid.Bucket> getBuckets()
getBuckets in interface MultiBucketsAggregationGeoHashGrid.Bucket getBucketByKey(String key)
MultiBucketsAggregationgetBucketByKey in interface MultiBucketsAggregationkey - The key of the requested bucket.GeoHashGrid.Bucket getBucketByKey(Number key)
GeoHashGrid.Bucket getBucketByKey(GeoPoint key)
Copyright © 2009–2016. All rights reserved.