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> |
MongoTemplate.geoNear(NearQuery near,
Class<T> entityClass) |
<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,
String collectionName) |
<T> GeoResults<T> |
MongoOperations.geoNear(NearQuery near,
Class<T> entityClass,
String collectionName)
Returns
GeoResults for all entities matching the given NearQuery . |
Constructor and Description |
---|
GeoPage(GeoResults<T> results)
Deprecated.
Creates a new
GeoPage from the given GeoResults . |
GeoPage(GeoResults<T> results,
Pageable pageable,
long total)
Deprecated.
|
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.