public interface Command<T>
Collector instances are created
and how the results are retrieved from the Collector instances.| 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() |
T |
result()
Returns the results that the collectors created
by
create() contain after a search has been executed. |
List<Collector> create() throws IOException
Collector instances to be
included in the search based on the .Collector instancesIOException - If I/O related errors occurT result()
create() contain after a search has been executed.String getKey()
Sort getGroupSort()
Sort getSortWithinGroup()