Package | Description |
---|---|
org.springframework.data.mongodb.core.geo | |
org.springframework.data.mongodb.core.query |
MongoDB specific query and update support.
|
org.springframework.data.mongodb.repository.query |
Modifier and Type | Method and Description |
---|---|
Point |
Circle.getCenter()
Returns the center of the
Circle . |
Point |
Box.getLowerLeft() |
Point |
Box.getUpperRight() |
Modifier and Type | Method and Description |
---|---|
Iterator<Point> |
Polygon.iterator() |
Constructor and Description |
---|
Box(Point lowerLeft,
Point upperRight) |
Circle(Point center,
double radius)
|
Point(Point point) |
Polygon(Point x,
Point y,
Point z,
Point... others)
Creates a new
Polygon for the given Points. |
Polygon(Point x,
Point y,
Point z,
Point... others)
Creates a new
Polygon for the given Points. |
Modifier and Type | Method and Description |
---|---|
static NearQuery |
NearQuery.near(Point point)
|
Criteria |
Criteria.near(Point point)
Creates a geospatial criterion using a $near operation
|
static NearQuery |
NearQuery.near(Point point,
Metric metric)
|
Criteria |
Criteria.nearSphere(Point point)
Creates a geospatial criterion using a $nearSphere operation.
|
Modifier and Type | Method and Description |
---|---|
Point |
MongoParametersParameterAccessor.getGeoNearLocation() |
Point |
MongoParameterAccessor.getGeoNearLocation()
Returns the
Point to use for a geo-near query. |
Point |
ConvertingParameterAccessor.getGeoNearLocation() |
Copyright © 2012. All Rights Reserved.