Interface VarianceState
-
- All Superinterfaces:
AccumulatorState
public interface VarianceState extends AccumulatorState
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description longgetCount()doublegetM2()doublegetMean()default voidmerge(VarianceState otherState)voidsetCount(long value)voidsetM2(double value)voidsetMean(double value)default voidupdate(double value)-
Methods inherited from interface io.trino.spi.function.AccumulatorState
copy, getEstimatedSize
-
-
-
-
Method Detail
-
getCount
long getCount()
-
setCount
void setCount(long value)
-
getMean
double getMean()
-
setMean
void setMean(double value)
-
getM2
double getM2()
-
setM2
void setM2(double value)
-
update
default void update(double value)
-
merge
default void merge(VarianceState otherState)
-
-