Class DeferringBucketCollector

    • Constructor Detail

      • DeferringBucketCollector

        public DeferringBucketCollector()
        Sole constructor.
    • Method Detail

      • setDeferredCollector

        public abstract void setDeferredCollector​(Iterable<BucketCollector> deferredCollectors)
        Set the deferred collectors.
      • prepareSelectedBuckets

        public abstract void prepareSelectedBuckets​(long... selectedBuckets)
                                             throws IOException
        Throws:
        IOException
      • wrap

        public Aggregator wrap​(Aggregator in)
        Wrap the provided aggregator so that it behaves (almost) as if it had been collected directly.