Class GroupResponse
- java.lang.Object
-
- org.apache.solr.client.solrj.response.GroupResponse
-
- All Implemented Interfaces:
Serializable
public class GroupResponse extends Object implements Serializable
Overall grouping result. Contains a list ofGroupCommand
instances that is the result of one the following parameters:- group.field
- group.func
- group.query
- Since:
- solr 3.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(GroupCommand command)
Adds a grouping command to the response.List<GroupCommand>
getValues()
Returns all grouping commands.
-
-
-
Method Detail
-
add
public void add(GroupCommand command)
Adds a grouping command to the response.- Parameters:
command
- The grouping command to add
-
getValues
public List<GroupCommand> getValues()
Returns all grouping commands.- Returns:
- all grouping commands
-
-