public static class AccumulatorOperators.StdDevPop extends Object
AggregationExpression
for $stdDevPop
.protected String getMongoMethod()
public static AccumulatorOperators.StdDevPop stdDevPopOf(String fieldReference)
AccumulatorOperators.StdDevPop
.fieldReference
- must not be null.public static AccumulatorOperators.StdDevPop stdDevPopOf(AggregationExpression expression)
AccumulatorOperators.StdDevPop
with all previously added arguments appending the given one.expression
- must not be null.public AccumulatorOperators.StdDevPop and(String fieldReference)
AccumulatorOperators.StdDevPop
with all previously added arguments appending the given one. $project
stage.fieldReference
- must not be null.public AccumulatorOperators.StdDevPop and(AggregationExpression expression)
AccumulatorOperators.StdDevSamp
with all previously added arguments appending the given one. $project
stage.expression
- must not be null.public org.bson.Document toDocument(Object value, AggregationOperationContext context)
public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpression
toDocument
in interface AggregationExpression
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.