public abstract class VarianceAggregator extends Object implements Aggregator
| Modifier and Type | Class and Description |
|---|---|
static class |
VarianceAggregator.FloatVarianceAggregator |
static class |
VarianceAggregator.LongVarianceAggregator |
static class |
VarianceAggregator.ObjectVarianceAggregator |
| Modifier and Type | Field and Description |
|---|---|
protected VarianceAggregatorCollector |
holder |
| Constructor and Description |
|---|
VarianceAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
get() |
double |
getDouble()
The default implementation casts
Aggregator.getFloat() to double. |
float |
getFloat() |
long |
getLong() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregateprotected final VarianceAggregatorCollector holder
public Object get()
get in interface Aggregatorpublic void close()
close in interface Aggregatorclose in interface Closeableclose in interface AutoCloseablepublic float getFloat()
getFloat in interface Aggregatorpublic long getLong()
getLong in interface Aggregatorpublic 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.getDouble in interface AggregatorCopyright © 2011–2018. All rights reserved.