public abstract class FilterCollector extends java.lang.Object implements Collector
Collector
delegator.Constructor and Description |
---|
FilterCollector(Collector in)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
boolean |
needsScores()
Indicates if document scores are needed by this collector.
|
java.lang.String |
toString() |
protected final Collector in
public FilterCollector(Collector in)
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collector
collector
to collect the given context.getLeafCollector
in interface Collector
context
- next atomic reader contextjava.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean needsScores()
Collector
needsScores
in interface Collector
true
if scores are needed.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.