Class InternalGeoHashGridBucket

All Implemented Interfaces:
java.lang.Comparable<InternalGeoGridBucket>, Writeable, org.elasticsearch.common.xcontent.ToXContent, GeoGrid.Bucket, MultiBucketsAggregation.Bucket, HasAggregations

public class InternalGeoHashGridBucket
extends InternalGeoGridBucket<InternalGeoHashGridBucket>
  • Constructor Details

    • InternalGeoHashGridBucket

      public InternalGeoHashGridBucket​(StreamInput in) throws java.io.IOException
      Read from a stream.
      Throws:
      java.io.IOException
  • Method Details

    • getKeyAsString

      public java.lang.String getKeyAsString()
      Returns:
      The key associated with the bucket as a string
    • getKey

      public GeoPoint getKey()
      Returns:
      The key associated with the bucket