Interface GeoBounds

All Superinterfaces:
Aggregation, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.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


    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields inherited from interface


    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

  • Method Summary

    Modifier and Type Method Description
    GeoPoint bottomRight()
    Get the bottom-right location of the bounding box.
    GeoPoint topLeft()
    Get the top-left location of the bounding box.

    Methods inherited from interface

    getMetadata, getName, getType

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent


    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment

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