public class Grouping.CommandQuery extends Grouping.Command
| Modifier and Type | Field and Description | 
|---|---|
Query | 
query  | 
docsPerGroup, format, groupOffset, groupSort, key, main, numGroups, offset, totalCount, withinGroupSort| Constructor and Description | 
|---|
Grouping.CommandQuery()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Collector | 
createFirstPassCollector()
Returns one or more  
Collector instances that are needed to perform the first pass search. | 
protected void | 
finish()
Performs any necessary post actions to prepare the response. 
 | 
int | 
getMatches()
Returns the number of matches for this  
Command. | 
protected void | 
prepare()
Prepare this  
Command for execution. | 
addDocList, commonResponse, createAllGroupCollector, createSecondPassCollector, createSimpleResponse, getDocList, getNumberOfGroupspublic Query query
protected void prepare()
                throws IOException
Command for execution.prepare in class Grouping.CommandIOException - If I/O related errors occurprotected Collector createFirstPassCollector() throws IOException
Collector instances that are needed to perform the first pass search.
 If multiple Collectors are returned then these wrapped in a MultiCollector.createFirstPassCollector in class Grouping.CommandCollector instances that are need to perform the first pass searchIOException - If I/O related errors occurprotected void finish()
               throws IOException
finish in class Grouping.CommandIOException - If I/O related errors occurpublic int getMatches()
Command.getMatches in class Grouping.CommandCommandCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.