Module org.elasticsearch.server
Class GeoHashBoundedPredicate
java.lang.Object
org.elasticsearch.search.aggregations.bucket.geogrid.GeoHashBoundedPredicate
Filters out geohashes using the provided bounds at the provided precision.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongupper bounds on count of geohashes intersecting this bounds at the precision provided in the constructor.booleanCheck if the provided geohash intersects with the provided bounds.
-
Constructor Details
-
GeoHashBoundedPredicate
-
-
Method Details
-
validHash
Check if the provided geohash intersects with the provided bounds. -
getMaxHashes
public long getMaxHashes()upper bounds on count of geohashes intersecting this bounds at the precision provided in the constructor.
-