Module org.elasticsearch.server
Interface GeoGrid
- All Superinterfaces:
Aggregation
,MultiBucketsAggregation
,ToXContent
,ToXContentFragment
- All Known Implementing Classes:
InternalGeoGrid
,InternalGeoHashGrid
,InternalGeoTileGrid
,ParsedGeoGrid
,ParsedGeoHashGrid
,ParsedGeoTileGrid
A geo-grid aggregation. Defines multiple buckets, each representing a cell in a geo-grid of a specific
precision.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A bucket that is associated with a geo-grid cell.Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getBuckets
List<? extends GeoGrid.Bucket> getBuckets()- Specified by:
getBuckets
in interfaceMultiBucketsAggregation
- Returns:
- The buckets of this aggregation (each bucket representing a geo-grid cell)
-