| Package | Description |
|---|---|
| org.springframework.data.mongodb.core |
MongoDB core support.
|
| org.springframework.data.mongodb.core.geo |
Support for MongoDB geo-spatial queries.
|
| Modifier and Type | Method and Description |
|---|---|
<T> GeoResults<T> |
MongoOperations.geoNear(NearQuery near,
Class<T> entityClass)
Returns
GeoResults for all entities matching the given NearQuery. |
<T> GeoResults<T> |
MongoTemplate.geoNear(NearQuery near,
Class<T> entityClass) |
<T> GeoResults<T> |
MongoOperations.geoNear(NearQuery near,
Class<T> entityClass,
String collectionName)
Returns
GeoResults for all entities matching the given NearQuery. |
<T> GeoResults<T> |
MongoTemplate.geoNear(NearQuery near,
Class<T> entityClass,
String collectionName) |
| Constructor and Description |
|---|
GeoPage(GeoResults<T> results)
Deprecated.
Creates a new
GeoPage from the given GeoResults. |
GeoPage(GeoResults<T> results,
org.springframework.data.domain.Pageable pageable,
long total)
Deprecated.
|
Copyright © 2021. All rights reserved.