public abstract class AbstractAllGroupsCollector<GROUP_VALUE_TYPE> extends Collector
| Constructor and Description |
|---|
AbstractAllGroupsCollector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
int |
getGroupCount()
Returns the total number of groups for the executed search.
|
abstract Collection<GROUP_VALUE_TYPE> |
getGroups()
Returns the group values
This is an unordered collections of group values.
|
void |
setScorer(Scorer scorer) |
collect, setNextReaderpublic int getGroupCount()
getGroups().size()
public abstract Collection<GROUP_VALUE_TYPE> getGroups()
BytesRef
representing a group value.public void setScorer(Scorer scorer) throws IOException
setScorer in class CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class CollectorCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.