Top Description Fields Constructors Methods
org.h2.expression.aggregate

pack-priv final Class AggregateDataCorr

extends AggregateDataBinarySet
Class Inheritance
Imports
org.h2.engine.SessionLocal, org.h2.message.DbException, org.h2.value.Value, .ValueDouble, .ValueNull

Data stored while calculating a CORR, REG_SLOPE, REG_INTERCEPT, or REGR_R2 aggregate.

Field Summary

Modifier and TypeField and Description
private final AggregateType
private long
private double
private double
private double
private double
private double
private double
private double

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv Value
getValue(SessionLocal
the session
session
)

Implements abstract org.h2.expression.aggregate.AggregateData.getValue.

Get the aggregate result.

Inherited from org.h2.expression.aggregate.AggregateDataBinarySet:
add

Field Detail

aggregateTypeback to summary
private final AggregateType aggregateType
countback to summary
private long count
m2xback to summary
private double m2x
m2yback to summary
private double m2y
meanXback to summary
private double meanX
meanYback to summary
private double meanY
sumXback to summary
private double sumX
sumYback to summary
private double sumY
sumYXback to summary
private double sumYX

Constructor Detail

AggregateDataCorrback to summary
pack-priv AggregateDataCorr(AggregateType aggregateType)

Method Detail

addback to summary
pack-priv void add(SessionLocal session, Value yValue, Value xValue)

Implements abstract org.h2.expression.aggregate.AggregateDataBinarySet.add.

Annotations
@Override
getValueback to summary
pack-priv Value getValue(SessionLocal session)

Implements abstract org.h2.expression.aggregate.AggregateData.getValue.

Doc from org.h2.expression.aggregate.AggregateData.getValue.

Get the aggregate result.

Parameters
session:SessionLocal

the session

Returns:Value

the value

Annotations
@Override