Uses of Class
dev.morphia.query.Shape
-
Packages that use Shape Package Description dev.morphia.query -
-
Uses of Shape in dev.morphia.query
Methods in dev.morphia.query that return Shape Modifier and Type Method Description static Shape
Shape. box(Shape.Point bottomLeft, Shape.Point upperRight)
Specifies a rectangle for a geospatial $geoWithin query to return documents that are within the bounds of the rectangle, according to their point-based location data.static Shape
Shape. center(Shape.Point center, double radius)
Specifies a circle for a $geoWithin query.static Shape
Shape. centerSphere(Shape.Point center, double radius)
Specifies a circle for a geospatial query that uses spherical geometry.static Shape
Shape. polygon(Shape.Point... points)
Specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.Methods in dev.morphia.query with parameters of type Shape Modifier and Type Method Description T
FieldEnd. within(Shape shape)
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.T
FieldEndImpl. within(Shape shape)
-