Class FloatLastAggregator
java.lang.Object
org.apache.druid.query.aggregation.firstlast.last.NumericLastAggregator
org.apache.druid.query.aggregation.firstlast.last.FloatLastAggregator
- All Implemented Interfaces:
Closeable,AutoCloseable,Aggregator
-
Constructor Summary
ConstructorsConstructorDescriptionFloatLastAggregator(BaseLongColumnValueSelector timeSelector, ColumnValueSelector valueSelector, boolean needsFoldCheck) -
Method Summary
Methods inherited from class org.apache.druid.query.aggregation.firstlast.last.NumericLastAggregator
aggregate, closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.query.aggregation.Aggregator
aggregateWithSize, isNull
-
Constructor Details
-
FloatLastAggregator
public FloatLastAggregator(BaseLongColumnValueSelector timeSelector, ColumnValueSelector valueSelector, boolean needsFoldCheck)
-
-
Method Details
-
get
-
getFloat
public float getFloat() -
getLong
public long getLong() -
getDouble
public double getDouble()Description copied from interface:AggregatorThe 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.
-