Interface GeoBounds
- All Superinterfaces:
Aggregation,ToXContent,ToXContentFragment
- All Known Implementing Classes:
InternalGeoBounds,ParsedGeoBounds
public interface GeoBounds extends Aggregation
An aggregation that computes a bounding box in which all documents of the current bucket are.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Method Summary
Modifier and Type Method Description GeoPointbottomRight()Get the bottom-right location of the bounding box.GeoPointtopLeft()Get the top-left location of the bounding box.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
-
Method Details
-
topLeft
GeoPoint topLeft()Get the top-left location of the bounding box. -
bottomRight
GeoPoint bottomRight()Get the bottom-right location of the bounding box.
-