Class SimpleGroupResult<T>
java.lang.Object
org.springframework.data.solr.core.query.result.SimpleGroupResult<T>
- Type Parameters:
T-
- All Implemented Interfaces:
GroupResult<T>
This represents the result of a group command. This can be the result of the following parameter: field, function or
query.
- Since:
- 1.4
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleGroupResult(int matches, Integer groupsCount, String name, org.springframework.data.domain.Page<GroupEntry<T>> groupEntries) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<GroupEntry<T>>Group entries.Groups count.intMatched documents for this group.getName()Grouping result name.toString()
-
Constructor Details
-
SimpleGroupResult
public SimpleGroupResult(int matches, Integer groupsCount, String name, org.springframework.data.domain.Page<GroupEntry<T>> groupEntries)
-
-
Method Details
-
getMatches
public int getMatches()Description copied from interface:GroupResultMatched documents for this group.- Specified by:
getMatchesin interfaceGroupResult<T>- Returns:
-
getGroupsCount
Description copied from interface:GroupResultGroups count.- Specified by:
getGroupsCountin interfaceGroupResult<T>- Returns:
-
getName
Description copied from interface:GroupResultGrouping result name.- Specified by:
getNamein interfaceGroupResult<T>- Returns:
-
getGroupEntries
Description copied from interface:GroupResultGroup entries.- Specified by:
getGroupEntriesin interfaceGroupResult<T>- Returns:
- See Also:
-
toString
-