public static class AggregationPhase.AggregationsCollector extends XCollector
| Constructor and Description |
|---|
AggregationsCollector(Collection<Aggregator> collectors,
AggregationContext aggregationContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
void |
postCollection() |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public AggregationsCollector(Collection<Aggregator> collectors, AggregationContext aggregationContext)
public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
setScorer in class org.apache.lucene.search.CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class org.apache.lucene.search.CollectorIOExceptionpublic void setNextReader(org.apache.lucene.index.AtomicReaderContext context)
throws IOException
setNextReader in class org.apache.lucene.search.CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class org.apache.lucene.search.Collectorpublic void postCollection()
throws IOException
postCollection in class XCollectorIOExceptionCopyright © 2009–2016. All rights reserved.