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() |
getName
Collection<GeoHashGrid.Bucket> getBuckets()
getBuckets
in interface MultiBucketsAggregation
GeoHashGrid.Bucket getBucketByKey(String key)
MultiBucketsAggregation
getBucketByKey
in interface MultiBucketsAggregation
key
- The key of the requested bucket.GeoHashGrid.Bucket getBucketByKey(Number key)
GeoHashGrid.Bucket getBucketByKey(GeoPoint key)
Copyright © 2009–2015. All rights reserved.