Class AggregatorAndSize

java.lang.Object
org.apache.druid.query.aggregation.AggregatorAndSize

public class AggregatorAndSize extends Object
Encapsulates an Aggregator and the initial size in bytes required by the Aggregator.
  • Constructor Details

    • AggregatorAndSize

      public AggregatorAndSize(Aggregator aggregator, long initialSizeBytes)
      Parameters:
      aggregator - Aggregator
      initialSizeBytes - Initial size in bytes (including JVM object overheads) required by the aggregator.
  • Method Details

    • getAggregator

      public Aggregator getAggregator()
    • getInitialSizeBytes

      public long getInitialSizeBytes()
      Initial size of the aggregator in bytes including JVM object overheads.