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 TypeMethodDescriptiongetGroupResult(String name) Get a group result with the given name.getGroupResult(Field field) Get a group result done for the givenField.getGroupResult(Function function) Get a group result done for the givenFunction.getGroupResult(Query query) Get a group result done for the givenQuery.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.springframework.data.domain.Page
getTotalElements, getTotalPages, mapMethods inherited from interface org.springframework.data.domain.Slice
getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextOrLastPageable, nextPageable, previousOrFirstPageable, previousPageableMethods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
-
Method Details
-
getGroupResult
Get a group result done for the givenField.- Parameters:
field-- Returns:
-
getGroupResult
Get a group result done for the givenFunction.- Parameters:
function-- Returns:
-
getGroupResult
Get a group result done for the givenQuery.- Parameters:
query-- Returns:
-
getGroupResult
Get a group result with the given name.- Parameters:
name-- Returns:
-