public abstract class AbstractAllGroupsCollector<GROUP_VALUE_TYPE> extends SimpleCollector
| 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, doSetNextReader, getLeafCollectorpublic 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 interface LeafCollectorsetScorer in class SimpleCollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in interface LeafCollectoracceptsDocsOutOfOrder in class SimpleCollectorCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.