public class DelegatingCollector extends Collector
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReaderContext |
context |
protected Collector |
delegate |
protected int |
docBase |
protected Scorer |
scorer |
static int |
setLastDelegateCount |
| Constructor and Description |
|---|
DelegatingCollector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
void |
finish() |
Collector |
getDelegate() |
void |
setDelegate(Collector delegate) |
void |
setLastDelegate(Collector delegate)
Sets the last delegate in a chain of DelegatingCollectors
|
void |
setNextReader(AtomicReaderContext context) |
void |
setScorer(Scorer scorer) |
public static int setLastDelegateCount
protected Collector delegate
protected Scorer scorer
protected AtomicReaderContext context
protected int docBase
public Collector getDelegate()
public void setDelegate(Collector delegate)
public void setLastDelegate(Collector delegate)
public void setScorer(Scorer scorer) throws IOException
setScorer in class CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class CollectorIOExceptionpublic void setNextReader(AtomicReaderContext context) throws IOException
setNextReader in class CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class Collectorpublic void finish()
throws IOException
IOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.