Class NestedAggregator

    • Method Detail

      • preGetSubLeafCollectors

        protected void preGetSubLeafCollectors()
                                        throws java.io.IOException
        Description copied from class: AggregatorBase
        Can be overridden by aggregator implementations that like the perform an operation before the leaf collectors of children aggregators are instantiated for the next segment.
        Overrides:
        preGetSubLeafCollectors in class AggregatorBase
        Throws:
        java.io.IOException
      • doPostCollection

        protected void doPostCollection()
                                 throws java.io.IOException
        Description copied from class: AggregatorBase
        Can be overridden by aggregator implementation to be called back when the collection phase ends.
        Overrides:
        doPostCollection in class AggregatorBase
        Throws:
        java.io.IOException
      • buildAggregation

        public InternalAggregation buildAggregation​(long owningBucketOrdinal)
                                             throws java.io.IOException
        Description copied from class: Aggregator
        Build an aggregation for data that has been collected into bucket.
        Specified by:
        buildAggregation in class Aggregator
        Throws:
        java.io.IOException