Class GroupResponse
java.lang.Object
org.apache.solr.client.solrj.response.GroupResponse
- All Implemented Interfaces:
Serializable
Overall grouping result. Contains a list of
GroupCommand instances that is the result of
one the following parameters:
- group.field
- group.func
- group.query
- Since:
- solr 3.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(GroupCommand command) Adds a grouping command to the response.Returns all grouping commands.
-
Constructor Details
-
GroupResponse
public GroupResponse()
-
-
Method Details
-
add
Adds a grouping command to the response.- Parameters:
command- The grouping command to add
-
getValues
Returns all grouping commands.- Returns:
- all grouping commands
-