public static class ArrayOperators.Reduce extends Object implements AggregationExpression
AggregationExpression for $reduce.| Modifier and Type | Class and Description |
|---|---|
static interface |
ArrayOperators.Reduce.InitialValueBuilder |
static class |
ArrayOperators.Reduce.PropertyExpression |
static interface |
ArrayOperators.Reduce.ReduceBuilder |
static class |
ArrayOperators.Reduce.Variable |
| Modifier and Type | Method and Description |
|---|---|
static ArrayOperators.Reduce.InitialValueBuilder |
arrayOf(AggregationExpression arrayValueExpression)
Start creating new
ArrayOperators.Reduce. |
static ArrayOperators.Reduce.InitialValueBuilder |
arrayOf(String fieldReference)
Start creating new
ArrayOperators.Reduce. |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpressiontoDbObject in interface AggregationExpressionpublic static ArrayOperators.Reduce.InitialValueBuilder arrayOf(String fieldReference)
ArrayOperators.Reduce.fieldReference - must not be null.public static ArrayOperators.Reduce.InitialValueBuilder arrayOf(AggregationExpression arrayValueExpression)
ArrayOperators.Reduce.arrayValueExpression - must not be null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.