|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Command<T>
Defines a grouping command.
This is an abstraction on how the Collector
instances are created
and how the results are retrieved from the Collector
instances.
Method Summary | |
---|---|
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. |
Method Detail |
---|
List<Collector> create() throws IOException
Collector
instances to be
included in the search based on the .
Collector
instances
IOException
- If I/O related errors occurT result()
create()
contain after a search has been executed.
String getKey()
Sort getGroupSort()
Sort getSortWithinGroup()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |