Class GeoPage<T>

java.lang.Object
org.springframework.data.domain.PageImpl<GeoResult<T>>
org.springframework.data.geo.GeoPage<T>
All Implemented Interfaces:
Serializable, Iterable<GeoResult<T>>, Supplier<Stream<GeoResult<T>>>, Page<GeoResult<T>>, Slice<GeoResult<T>>, Streamable<GeoResult<T>>

public class GeoPage<T> extends PageImpl<GeoResult<T>>
Custom Page to carry the average distance retrieved from the GeoResults the GeoPage is set up from.
Since:
1.8
Author:
Oliver Gierke, Thomas Darimont
See Also:
  • Constructor Details

    • GeoPage

      public GeoPage(GeoResults<T> results)
      Creates a new GeoPage from the given GeoResults.
      Parameters:
      results - must not be null.
    • GeoPage

      public GeoPage(GeoResults<T> results, Pageable pageable, long total)
      Creates a new GeoPage from the given GeoResults, Pageable and total.
      Parameters:
      results - must not be null.
      pageable - must not be null.
      total -
  • Method Details