Interface SpatialBounds<T extends SpatialPoint>

All Superinterfaces:
Aggregation, ToXContent, ToXContentFragment
All Known Subinterfaces:
GeoBounds
All Known Implementing Classes:
InternalBounds, InternalGeoBounds, ParsedGeoBounds

public interface SpatialBounds<T extends SpatialPoint> extends Aggregation
An aggregation that computes a bounding box in which all documents of the current bucket are.
  • Method Details

    • topLeft

      T topLeft()
      Get the top-left location of the bounding box.
    • bottomRight

      T bottomRight()
      Get the bottom-right location of the bounding box.