Class LeafBucketCollectorBase

All Implemented Interfaces:

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

  • Constructor Summary

    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​( s)  

    Methods inherited from class

    collect, wrap

    Methods inherited from class java.lang.Object

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