Class FloatMaxAggregator
- java.lang.Object
-
- org.apache.druid.query.aggregation.FloatMaxAggregator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Aggregator
public class FloatMaxAggregator extends Object implements Aggregator
-
-
Constructor Summary
Constructors Constructor Description FloatMaxAggregator(BaseFloatColumnValueSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate()Performs aggregation.voidclose()Objectget()doublegetDouble()The default implementation castsAggregator.getFloat()to double.floatgetFloat()longgetLong()-
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
-
FloatMaxAggregator
public FloatMaxAggregator(BaseFloatColumnValueSelector selector)
-
-
Method Detail
-
aggregate
public void aggregate()
Description copied from interface:AggregatorPerforms aggregation.- Specified by:
aggregatein interfaceAggregator
-
get
public Object get()
- Specified by:
getin interfaceAggregator
-
getFloat
public float getFloat()
- Specified by:
getFloatin interfaceAggregator
-
getLong
public long getLong()
- Specified by:
getLongin interfaceAggregator
-
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.- Specified by:
getDoublein interfaceAggregator
-
close
public void close()
- Specified by:
closein interfaceAggregator- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-