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.
  • 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.