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