org.springframework.data.mongodb.core.geo
Class GeoPage<T>
java.lang.Object
org.springframework.data.domain.PageImpl<org.springframework.data.geo.GeoResult<T>>
org.springframework.data.geo.GeoPage<T>
org.springframework.data.mongodb.core.geo.GeoPage<T>
- All Implemented Interfaces:
- Serializable, Iterable<org.springframework.data.geo.GeoResult<T>>, Page<org.springframework.data.geo.GeoResult<T>>, Slice<org.springframework.data.geo.GeoResult<T>>
Deprecated. As of release 1.5, replaced by GeoPage. This class is scheduled to
be removed in the next major release.
@Deprecated
public class GeoPage<T>
- extends org.springframework.data.geo.GeoPage<T>
Custom Page to carry the average distance retrieved from the GeoResults the GeoPage is set up
from.
- Author:
- Oliver Gierke, Thomas Darimont
- See Also:
- Serialized Form
| Methods inherited from class org.springframework.data.geo.GeoPage |
getAverageDistance |
| Methods inherited from class org.springframework.data.domain.PageImpl |
equals, getTotalElements, getTotalPages, hashCode, hasNext, hasNextPage, hasPreviousPage, isFirstPage, isLast, isLastPage, toString |
GeoPage
public GeoPage(GeoResults<T> results)
- Deprecated.
- Creates a new
GeoPage from the given GeoResults.
- Parameters:
content - must not be null.
GeoPage
public GeoPage(GeoResults<T> results,
Pageable pageable,
long total)
- Deprecated.
- Creates a new
GeoPage from the given GeoResults, Pageable and total.
- Parameters:
results - must not be null.pageable - must not be null.total -
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.