Class AggregationPage<E>

java.lang.Object
com.redis.om.spring.search.stream.AggregationPage<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Supplier<Stream<E>>, org.springframework.data.domain.Page<E>, org.springframework.data.domain.Slice<E>, org.springframework.data.util.Streamable<E>

public class AggregationPage<E> extends Object implements org.springframework.data.domain.Page<E>, Serializable
See Also:
  • Constructor Details

  • Method Details

    • getNumber

      public int getNumber()
      Specified by:
      getNumber in interface org.springframework.data.domain.Slice<E>
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.springframework.data.domain.Slice<E>
    • getNumberOfElements

      public int getNumberOfElements()
      Specified by:
      getNumberOfElements in interface org.springframework.data.domain.Slice<E>
    • getContent

      public List<E> getContent()
      Specified by:
      getContent in interface org.springframework.data.domain.Slice<E>
    • hasContent

      public boolean hasContent()
      Specified by:
      hasContent in interface org.springframework.data.domain.Slice<E>
    • getSort

      public org.springframework.data.domain.Sort getSort()
      Specified by:
      getSort in interface org.springframework.data.domain.Slice<E>
    • isFirst

      public boolean isFirst()
      Specified by:
      isFirst in interface org.springframework.data.domain.Slice<E>
    • isLast

      public boolean isLast()
      Specified by:
      isLast in interface org.springframework.data.domain.Slice<E>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface org.springframework.data.domain.Slice<E>
    • nextPageable

      public org.springframework.data.domain.Pageable nextPageable()
      Specified by:
      nextPageable in interface org.springframework.data.domain.Slice<E>
    • getTotalPages

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

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

      public <U> org.springframework.data.domain.Page<U> map(Function<? super E,? extends U> converter)
      Specified by:
      map in interface org.springframework.data.domain.Page<E>
      Specified by:
      map in interface org.springframework.data.domain.Slice<E>
      Specified by:
      map in interface org.springframework.data.util.Streamable<E>
    • iterator

      public Iterator<E> iterator()
      Specified by:
      iterator in interface Iterable<E>
    • hasPrevious

      public boolean hasPrevious()
      Specified by:
      hasPrevious in interface org.springframework.data.domain.Slice<E>
    • previousPageable

      public org.springframework.data.domain.Pageable previousPageable()
      Specified by:
      previousPageable in interface org.springframework.data.domain.Slice<E>
    • getConvertedContent

      protected <U> List<U> getConvertedContent(Function<? super E,? extends U> converter)