Class LeafBucketCollectorBase

java.lang.Object
org.elasticsearch.search.aggregations.LeafBucketCollector
org.elasticsearch.search.aggregations.LeafBucketCollectorBase
All Implemented Interfaces:
org.apache.lucene.search.LeafCollector

public class LeafBucketCollectorBase
extends LeafBucketCollector
A LeafBucketCollector that delegates all calls to the sub leaf aggregator and sets the scorer on its source of values if it implements ScorerAware.
  • Field Summary

    Fields inherited from class org.elasticsearch.search.aggregations.LeafBucketCollector

    NO_OP_COLLECTOR
  • Constructor Summary

    Constructors 
    Constructor Description
    LeafBucketCollectorBase​(LeafBucketCollector sub, java.lang.Object values)  
  • Method Summary

    Modifier and Type Method Description
    void collect​(int doc, long bucket)
    Collect the given doc in the given bucket.
    void setScorer​(org.apache.lucene.search.Scorable s)  

    Methods inherited from class org.elasticsearch.search.aggregations.LeafBucketCollector

    collect, wrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait