Class SuppressedAggregatorFactory

java.lang.Object
org.apache.druid.query.aggregation.AggregatorFactory
org.apache.druid.query.aggregation.SuppressedAggregatorFactory
All Implemented Interfaces:
Cacheable

public class SuppressedAggregatorFactory extends AggregatorFactory
This AggregatorFactory is meant for wrapping delegate aggregators for optimization purposes. The wrapper suppresses the aggregate() method for the underlying delegate, while leaving the behavior of other calls unchanged. This wrapper is meant to be used when an optimization decides that an aggregator can be entirely skipped (e.g., a FilteredAggregatorFactory where the filter condition will never match).