Class AggregatorAndSize
- java.lang.Object
-
- org.apache.druid.query.aggregation.AggregatorAndSize
-
public class AggregatorAndSize extends Object
Encapsulates anAggregator
and the initial size in bytes required by the Aggregator.
-
-
Constructor Summary
Constructors Constructor Description AggregatorAndSize(Aggregator aggregator, long initialSizeBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregator
getAggregator()
long
getInitialSizeBytes()
Initial size of the aggregator in bytes including JVM object overheads.
-
-
-
Constructor Detail
-
AggregatorAndSize
public AggregatorAndSize(Aggregator aggregator, long initialSizeBytes)
- Parameters:
aggregator
- AggregatorinitialSizeBytes
- Initial size in bytes (including JVM object overheads) required by the aggregator.
-
-
Method Detail
-
getAggregator
public Aggregator getAggregator()
-
getInitialSizeBytes
public long getInitialSizeBytes()
Initial size of the aggregator in bytes including JVM object overheads.
-
-