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, wait
aggregate
protected final VarianceAggregatorCollector holder
public Object get()
get
in interface Aggregator
public void close()
close
in interface Aggregator
close
in interface Closeable
close
in interface AutoCloseable
public float getFloat()
getFloat
in interface Aggregator
public long getLong()
getLong
in interface Aggregator
public double getDouble()
Aggregator
Aggregator.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 Aggregator
Copyright © 2011–2018. All rights reserved.