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 ShapeShape. 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 ShapeShape. center(Shape.Point center, double radius)Specifies a circle for a $geoWithin query.static ShapeShape. centerSphere(Shape.Point center, double radius)Specifies a circle for a geospatial query that uses spherical geometry.static ShapeShape. 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 TFieldEnd. within(Shape shape)This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.TFieldEndImpl. within(Shape shape)
-