public class InternalProfileCollector
extends java.lang.Object
implements org.apache.lucene.search.Collector
Constructor and Description |
---|
InternalProfileCollector(org.apache.lucene.search.Collector collector,
java.lang.String reason,
java.util.List<InternalProfileCollector> children) |
Modifier and Type | Method and Description |
---|---|
CollectorResult |
getCollectorTree() |
org.apache.lucene.search.LeafCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext context) |
java.lang.String |
getName() |
java.lang.String |
getReason() |
long |
getTime() |
boolean |
needsScores() |
public InternalProfileCollector(org.apache.lucene.search.Collector collector, java.lang.String reason, java.util.List<InternalProfileCollector> children)
public long getTime()
public java.lang.String getReason()
public java.lang.String getName()
public org.apache.lucene.search.LeafCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
getLeafCollector
in interface org.apache.lucene.search.Collector
java.io.IOException
public boolean needsScores()
needsScores
in interface org.apache.lucene.search.Collector
public CollectorResult getCollectorTree()