public class DoubleLastAggregator extends NumericLastAggregator<BaseDoubleColumnValueSelector>
| Constructor and Description |
|---|
DoubleLastAggregator(BaseLongColumnValueSelector timeSelector,
BaseDoubleColumnValueSelector 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 DoubleLastAggregator(BaseLongColumnValueSelector timeSelector, BaseDoubleColumnValueSelector 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.