Class ProfilingLeafBucketCollector
java.lang.Object
org.elasticsearch.search.aggregations.LeafBucketCollector
org.elasticsearch.search.profile.aggregation.ProfilingLeafBucketCollector
- All Implemented Interfaces:
org.apache.lucene.search.LeafCollector
public class ProfilingLeafBucketCollector extends LeafBucketCollector
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.LeafBucketCollector
NO_OP_COLLECTOR
-
Constructor Summary
Constructors Constructor Description ProfilingLeafBucketCollector(LeafBucketCollector delegate, AggregationProfileBreakdown profileBreakdown)
-
Method Summary
Methods inherited from class org.elasticsearch.search.aggregations.LeafBucketCollector
collect, wrap
-
Constructor Details
-
ProfilingLeafBucketCollector
public ProfilingLeafBucketCollector(LeafBucketCollector delegate, AggregationProfileBreakdown profileBreakdown)
-
-
Method Details
-
collect
public void collect(int doc, long bucket) throws java.io.IOExceptionDescription copied from class:LeafBucketCollector
Collect the given doc in the given bucket.- Specified by:
collect
in classLeafBucketCollector
- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer) throws java.io.IOException- Specified by:
setScorer
in interfaceorg.apache.lucene.search.LeafCollector
- Overrides:
setScorer
in classLeafBucketCollector
- Throws:
java.io.IOException
-