Class StandardDeviationCollector
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.StatisticCollector
-
- org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.stdev.StandardDeviationCollector
-
- All Implemented Interfaces:
AggregateCollector
@Experimental public class StandardDeviationCollector extends StatisticCollector
AggregateCollectorthat can compute both sample and population standard deviation based on input of numericLiterals.- 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 StandardDeviationCollector(boolean population)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LiteralcomputeValue()-
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:
computeValuein classStatisticCollector
-
-