public class FloatLastAggregator extends NumericLastAggregator<BaseFloatColumnValueSelector>
| Constructor and Description |
|---|
FloatLastAggregator(BaseLongColumnValueSelector timeSelector,
BaseFloatColumnValueSelector valueSelector) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get() |
double |
getDouble()
The default implementation casts
Aggregator.getFloat() to double. |
float |
getFloat() |
long |
getLong() |
aggregate, closeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNullpublic FloatLastAggregator(BaseLongColumnValueSelector timeSelector, BaseFloatColumnValueSelector valueSelector)
public Object get()
public float getFloat()
public long getLong()
public double getDouble()
AggregatorAggregator.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.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.