Class LongConstantAggregator

java.lang.Object
org.apache.druid.query.aggregation.constant.LongConstantAggregator
All Implemented Interfaces:
Closeable, AutoCloseable, Aggregator

public class LongConstantAggregator extends Object implements Aggregator
This aggregator is a no-op aggregator with a fixed non-null output value. It can be used in scenarios where result is constant such as GroupingAggregatorFactory
  • Constructor Details

    • LongConstantAggregator

      public LongConstantAggregator(long value)
  • Method Details