Spring Data MongoDB - Core

org.springframework.data.mongodb.core.geo
Class GeoPage<T>

java.lang.Object
  extended by org.springframework.data.domain.PageImpl<GeoResult<T>>
      extended by org.springframework.data.geo.GeoPage<T>
          extended by org.springframework.data.mongodb.core.geo.GeoPage<T>
All Implemented Interfaces:
Serializable, Iterable<GeoResult<T>>, Page<GeoResult<T>>, Slice<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 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

Constructor Summary
GeoPage(GeoResults<T> results)
          Deprecated. Creates a new GeoPage from the given GeoResults.
GeoPage(GeoResults<T> results, Pageable pageable, long total)
          Deprecated. Creates a new GeoPage from the given GeoResults, Pageable and total.
 
Method Summary
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -

Spring Data MongoDB - Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.