Class AbstractPageSupport<T>

java.lang.Object
org.springframework.data.gemfire.domain.support.AbstractSliceSupport<T>
org.springframework.data.gemfire.domain.support.AbstractPageSupport<T>
Type Parameters:
T - Class type of the individual elements on this Slice.
All Implemented Interfaces:
Iterable<T>, Supplier<Stream<T>>, org.springframework.data.domain.Page<T>, org.springframework.data.domain.Slice<T>, org.springframework.data.util.Streamable<T>
Direct Known Subclasses:
ListablePage

public abstract class AbstractPageSupport<T> extends AbstractSliceSupport<T> implements org.springframework.data.domain.Page<T>
The AbstractPageSupport class is an abstract Spring Data Page type supporting the implementation of application specific Page implementations.
Since:
1.1.0
See Also:
  • Converter
  • Page
  • Slice
  • Constructor Details

    • AbstractPageSupport

      public AbstractPageSupport()
  • Method Details

    • getTotalElements

      public long getTotalElements()
      Specified by:
      getTotalElements in interface org.springframework.data.domain.Page<T>
    • getTotalPages

      public int getTotalPages()
      Specified by:
      getTotalPages in interface org.springframework.data.domain.Page<T>
    • map

      public <S> org.springframework.data.domain.Page<S> map(Function<? super T,? extends S> converter)
      Specified by:
      map in interface org.springframework.data.domain.Page<T>
      Specified by:
      map in interface org.springframework.data.domain.Slice<T>
      Specified by:
      map in interface org.springframework.data.util.Streamable<T>
      Overrides:
      map in class AbstractSliceSupport<T>