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
@Experimental public class VarianceCollector extends StatisticCollector
AggregateCollector
that can compute both sample and population variance based on input of numericLiteral
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
Constructors Constructor Description VarianceCollector(boolean population)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Literal
computeValue()
-
Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.StatisticCollector
addValue, getFinalValue, hasError, setTypeError
-
-
-
-
Method Detail
-
computeValue
protected Literal computeValue()
- Specified by:
computeValue
in classStatisticCollector
-
-