com.google.appengine.api.datastore
Class Query.GeoRegion
- java.lang.Object
-
- com.google.appengine.api.datastore.Query.GeoRegion
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Query.GeoRegion.Circle, Query.GeoRegion.Rectangle
- Enclosing class:
- Query
public abstract static class Query.GeoRegion extends java.lang.Object implements java.io.Serializable
A geographic region intended for use in aQuery.StContainsFilter
. Note that this is the only purpose for which it should be used: in particular, it is not suitable as a Property value to be stored in Datastore.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
Query.GeoRegion.Circle
A geographical region representing all points within a fixed distance from a central point, i.e., a circle.static class
Query.GeoRegion.Rectangle
A simple geographical region bounded by two latitude lines, and two longitude lines, i.e., a "rectangle".
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract boolean
contains(GeoPt point)
Determines whether the givenGeoPt
value lies within this geographic region.
-