Class VarianceCollector
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.StatisticCollector
org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.variance.VarianceCollector
- All Implemented Interfaces:
AggregateCollector
AggregateCollector
that can compute both sample and
population variance based on input of numeric Literal
s.- Author:
- Tomas Kovachev t.kovachev1996@gmail.com
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.StatisticCollector
population, statistics, typeError, ZERO
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.StatisticCollector
addValue, getFinalValue, hasError, setTypeError
-
Constructor Details
-
VarianceCollector
public VarianceCollector(boolean population)
-
-
Method Details
-
computeValue
- Specified by:
computeValue
in classStatisticCollector
-