public class GeoHashBoundingBoxQuery extends Object implements GeoHashQuery, Serializable
| Constructor and Description |
|---|
GeoHashBoundingBoxQuery(BoundingBox bbox) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(GeoHash hash)
check wether a geohash is within the hashes that make up this query.
|
boolean |
contains(WGS84Point point)
returns whether a point lies within a query.
|
List<GeoHash> |
getSearchHashes()
should return the hashes that re required to perform this search.
|
String |
getWktBox() |
String |
toString() |
public GeoHashBoundingBoxQuery(BoundingBox bbox)
public boolean contains(GeoHash hash)
GeoHashQuerycontains in interface GeoHashQuerypublic boolean contains(WGS84Point point)
GeoHashQuerycontains in interface GeoHashQuerypublic List<GeoHash> getSearchHashes()
GeoHashQuerygetSearchHashes in interface GeoHashQuerypublic String getWktBox()
getWktBox in interface GeoHashQueryCopyright © 2015. All Rights Reserved.