public abstract class AbstractAllGroupsCollector<GROUP_VALUE_TYPE> extends SimpleCollector
Constructor and Description |
---|
AbstractAllGroupsCollector() |
Modifier and Type | Method and Description |
---|---|
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, getLeafCollector
public 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 LeafCollector
setScorer
in class SimpleCollector
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.