Interface GroupPage<T>

Type Parameters:
T -
All Superinterfaces:
Iterable<T>, org.springframework.data.domain.Page<T>, org.springframework.data.domain.Slice<T>, org.springframework.data.util.Streamable<T>, Supplier<Stream<T>>
All Known Implementing Classes:
SolrResultPage

public interface GroupPage<T> extends org.springframework.data.domain.Page<T>
Representation of a Group result page, holding one GroupResult for each grouping requested on a GroupOptions.
Since:
1.4
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a group result with the given name.
    Get a group result done for the given Field.
    Get a group result done for the given Function.
    Get a group result done for the given Query.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface org.springframework.data.domain.Page

    getTotalElements, getTotalPages, map

    Methods inherited from interface org.springframework.data.domain.Slice

    getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextOrLastPageable, nextPageable, previousOrFirstPageable, previousPageable

    Methods inherited from interface org.springframework.data.util.Streamable

    and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
  • Method Details

    • getGroupResult

      GroupResult<T> getGroupResult(Field field)
      Get a group result done for the given Field.
      Parameters:
      field -
      Returns:
    • getGroupResult

      GroupResult<T> getGroupResult(Function function)
      Get a group result done for the given Function.
      Parameters:
      function -
      Returns:
    • getGroupResult

      GroupResult<T> getGroupResult(Query query)
      Get a group result done for the given Query.
      Parameters:
      query -
      Returns:
    • getGroupResult

      GroupResult<T> getGroupResult(String name)
      Get a group result with the given name.
      Parameters:
      name -
      Returns: