public static class AccumulatorOperators.StdDevPop extends Object
AggregationExpression for $stdDevPop.| Modifier and Type | Method and Description |
|---|---|
AccumulatorOperators.StdDevPop |
and(AggregationExpression expression)
Creates new
AccumulatorOperators.StdDevSamp with all previously added arguments appending the given one. |
AccumulatorOperators.StdDevPop |
and(String fieldReference)
Creates new
AccumulatorOperators.StdDevPop with all previously added arguments appending the given one. |
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
protected Map<String,Object> |
argumentMap()
Get the argument map.
|
protected static List<Field> |
asFields(String... fieldRefs) |
protected boolean |
contains(Object key)
Check if the given key is available.
|
protected <T> T |
get(int index)
Get the value at a given index.
|
protected <T> T |
get(Object key)
Get the value for a given key.
|
protected String |
getMongoMethod() |
static AccumulatorOperators.StdDevPop |
stdDevPopOf(AggregationExpression expression)
Creates new
AccumulatorOperators.StdDevPop with all previously added arguments appending the given one. |
static AccumulatorOperators.StdDevPop |
stdDevPopOf(String fieldReference)
Creates new
AccumulatorOperators.StdDevPop. |
org.bson.Document |
toDocument(AggregationOperationContext context)
|
org.bson.Document |
toDocument(Object value,
AggregationOperationContext context) |
protected List<Object> |
values() |
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)
AggregationExpressiontoDocument in interface AggregationExpressionprotected <T> T get(int index)
T - index - protected <T> T get(Object key)
T - key - protected boolean contains(Object key)
key - Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.