public static class ArrayOperators.Reduce.PropertyExpression extends Object implements AggregationExpression
| Modifier and Type | Class and Description |
|---|---|
static interface |
ArrayOperators.Reduce.PropertyExpression.AsBuilder |
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyExpression(String propertyName,
AggregationExpression aggregationExpression) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayOperators.Reduce.PropertyExpression.AsBuilder |
property(String name)
Define a result property for an
AggregationExpression used in ArrayOperators.Reduce. |
org.bson.Document |
toDocument(AggregationOperationContext context)
|
protected PropertyExpression(String propertyName, AggregationExpression aggregationExpression)
public static ArrayOperators.Reduce.PropertyExpression.AsBuilder property(String name)
AggregationExpression used in ArrayOperators.Reduce.name - must not be null.public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressionCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.