public class SearchGroupsFieldCommand extends Object implements Command<Collection<SearchGroup<String>>>
Modifier and Type | Class and Description |
---|---|
static class |
SearchGroupsFieldCommand.Builder |
Modifier and Type | Method and Description |
---|---|
List<Collector> |
create()
Returns a list of
Collector instances to be
included in the search based on the . |
Sort |
getGroupSort() |
String |
getKey() |
Sort |
getSortWithinGroup() |
Collection<SearchGroup<String>> |
result()
Returns the results that the collectors created
by
Command.create() contain after a search has been executed. |
public List<Collector> create() throws IOException
Command
Collector
instances to be
included in the search based on the .create
in interface Command<Collection<SearchGroup<String>>>
Collector
instancesIOException
- If I/O related errors occurpublic Collection<SearchGroup<String>> result()
Command
Command.create()
contain after a search has been executed.result
in interface Command<Collection<SearchGroup<String>>>
public Sort getSortWithinGroup()
getSortWithinGroup
in interface Command<Collection<SearchGroup<String>>>
public Sort getGroupSort()
getGroupSort
in interface Command<Collection<SearchGroup<String>>>
public String getKey()
getKey
in interface Command<Collection<SearchGroup<String>>>