Interface CorrelationState
- All Superinterfaces:
AccumulatorState,CovarianceState
-
Method Summary
Methods inherited from interface io.trino.spi.function.AccumulatorState
copy, getEstimatedSizeMethods inherited from interface io.trino.operator.aggregation.state.CovarianceState
getC2, getCount, getCovariancePopulation, getCovarianceSample, getMeanX, getMeanY, merge, setC2, setCount, setMeanX, setMeanY
-
Method Details
-
getM2X
double getM2X() -
setM2X
void setM2X(double value) -
getM2Y
double getM2Y() -
setM2Y
void setM2Y(double value) -
update
default void update(double x, double y) - Specified by:
updatein interfaceCovarianceState
-
merge
-
getCorrelation
default double getCorrelation()
-