Class FloatAnyAggregator
- java.lang.Object
-
- org.apache.druid.query.aggregation.any.NumericAnyAggregator<BaseFloatColumnValueSelector>
-
- org.apache.druid.query.aggregation.any.FloatAnyAggregator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Aggregator
public class FloatAnyAggregator extends NumericAnyAggregator<BaseFloatColumnValueSelector>
-
-
Constructor Summary
Constructors Constructor Description FloatAnyAggregator(BaseFloatColumnValueSelector valueSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget()doublegetDouble()The default implementation castsAggregator.getFloat()to double.floatgetFloat()longgetLong()-
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
-
FloatAnyAggregator
public FloatAnyAggregator(BaseFloatColumnValueSelector valueSelector)
-
-
Method Detail
-
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.
-
-