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. |
org.bson.Document |
toDocument(AggregationOperationContext context)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, toDocumentcreate, createpublic org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressioncontext - must not be null.Document) form of the expression.public static ArrayOperators.Reduce.InitialValueBuilder arrayOf(String fieldReference)
ArrayOperators.Reduce.fieldReference - must not be null.ArrayOperators.Reduce.InitialValueBuilder to create ArrayOperators.Reduce.public static ArrayOperators.Reduce.InitialValueBuilder arrayOf(AggregationExpression arrayValueExpression)
ArrayOperators.Reduce.arrayValueExpression - must not be null.ArrayOperators.Reduce.InitialValueBuilder to create ArrayOperators.Reduce.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.