Class LongAnyAggregator
- java.lang.Object
-
- org.apache.druid.query.aggregation.any.NumericAnyAggregator<BaseLongColumnValueSelector>
-
- org.apache.druid.query.aggregation.any.LongAnyAggregator
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Aggregator
public class LongAnyAggregator extends NumericAnyAggregator<BaseLongColumnValueSelector>
-
-
Constructor Summary
Constructors Constructor Description LongAnyAggregator(BaseLongColumnValueSelector valueSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get()
double
getDouble()
The default implementation castsAggregator.getFloat()
to double.float
getFloat()
long
getLong()
-
Methods inherited from class org.apache.druid.query.aggregation.any.NumericAnyAggregator
aggregate, close
-
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, isNull
-
-
-
-
Constructor Detail
-
LongAnyAggregator
public LongAnyAggregator(BaseLongColumnValueSelector valueSelector)
-
-
Method Detail
-
getFloat
public float getFloat()
-
getLong
public long getLong()
-
getDouble
public double getDouble()
Description copied from interface:Aggregator
The default implementation castsAggregator.getFloat()
to double. This default method is added to enable smooth backward compatibility, please re-implement it if your aggregators work with numeric double columns.
-
-