Interface GroupResult<T>
- Type Parameters:
T- grouped content type
- All Known Implementing Classes:
SimpleGroupResult
public interface GroupResult<T>
Representation of a group in response to group request (i.e. , , ) will have a
GroupResult representation.- Since:
- 1.4
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<GroupEntry<T>>Group entries.Groups count.intMatched documents for this group.getName()Grouping result name.
-
Method Details
-
getMatches
int getMatches()Matched documents for this group.- Returns:
-
getGroupsCount
Integer getGroupsCount()Groups count.- Returns:
-
getName
String getName()Grouping result name.- Returns:
-
getGroupEntries
org.springframework.data.domain.Page<GroupEntry<T>> getGroupEntries()Group entries.- Returns:
- See Also:
-