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.
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setScorer

        public void setScorer​( s)
        Specified by:
        setScorer in interface
        setScorer in class LeafBucketCollector
      • collect

        public void collect​(int doc,
                            long bucket)
        Description copied from class: LeafBucketCollector
        Collect the given doc in the given bucket.
        Specified by:
        collect in class LeafBucketCollector