Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute

public Class StdDevPAggregator<V extends Number>

extends VarPAggregator<V extends Number>
Class Inheritance

This class implements the SQL Standard STDDEV_POP() aggregator, computing a population's standard deviation. It relies on VarPAggregator to compute the population variance and then applies the textbook definition of standard deviation:


√var_pop()

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from org.apache.derby.impl.sql.execute.VarPAggregator:
countsums

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Double
Inherited from org.apache.derby.impl.sql.execute.VarPAggregator:
accumulatecomputeVarinitmergereadExternalwriteExternal

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.derby.impl.sql.execute.VarPAggregator.serialVersionUID.

Constructor Detail

StdDevPAggregatorback to summary
public StdDevPAggregator()

Method Detail

terminateback to summary
public Double terminate()

Overrides org.apache.derby.impl.sql.execute.VarPAggregator.terminate.

Implements org.apache.derby.agg.Aggregator.terminate.

Doc from org.apache.derby.agg.Aggregator.terminate.

Return the result scalar value

Returns:Double

the result scalar value

Annotations
@Override