T - public class SimpleGroupResult<T> extends Object implements GroupResult<T>
| Constructor and Description |
|---|
SimpleGroupResult(int matches,
Integer groupsCount,
String name,
Page<GroupEntry<T>> groupEntries) |
| Modifier and Type | Method and Description |
|---|---|
Page<GroupEntry<T>> |
getGroupEntries()
Group entries.
|
Integer |
getGroupsCount()
Groups count.
|
int |
getMatches()
Matched documents for this group.
|
String |
getName()
Grouping result name.
|
String |
toString() |
public SimpleGroupResult(int matches,
Integer groupsCount,
String name,
Page<GroupEntry<T>> groupEntries)
public int getMatches()
GroupResultgetMatches in interface GroupResult<T>public Integer getGroupsCount()
GroupResultgetGroupsCount in interface GroupResult<T>public String getName()
GroupResultgetName in interface GroupResult<T>public Page<GroupEntry<T>> getGroupEntries()
GroupResultgetGroupEntries in interface GroupResult<T>GroupEntryCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.