Class NumericFirstAggregator
- java.lang.Object
-
- org.apache.druid.query.aggregation.firstlast.first.NumericFirstAggregator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Aggregator
- Direct Known Subclasses:
DoubleFirstAggregator,FloatFirstAggregator,LongFirstAggregator
public abstract class NumericFirstAggregator extends Object implements Aggregator
Base type for on heap 'first' aggregator for primitive numeric column selectors
-
-
Constructor Summary
Constructors Constructor Description NumericFirstAggregator(BaseLongColumnValueSelector timeSelector, ColumnValueSelector valueSelector, boolean needsFoldCheck)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate()Performs aggregation.voidclose()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.query.aggregation.Aggregator
aggregateWithSize, get, getDouble, getFloat, getLong, isNull
-
-
-
-
Constructor Detail
-
NumericFirstAggregator
public NumericFirstAggregator(BaseLongColumnValueSelector timeSelector, ColumnValueSelector valueSelector, boolean needsFoldCheck)
-
-
Method Detail
-
aggregate
public void aggregate()
Description copied from interface:AggregatorPerforms aggregation.- Specified by:
aggregatein interfaceAggregator
-
close
public void close()
- Specified by:
closein interfaceAggregator- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-