public class ObjectOperators extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectOperators.MergeObjects
AggregationExpression for $mergeObjects that combines multiple documents into a single document. |
static class |
ObjectOperators.ObjectOperatorFactory |
static class |
ObjectOperators.ObjectToArray
AggregationExpression for $objectToArray that converts a document to an array of documents that each contains two fields k and v. |
| Constructor and Description |
|---|
ObjectOperators() |
| Modifier and Type | Method and Description |
|---|---|
static ObjectOperators.ObjectOperatorFactory |
valueOf(AggregationExpression expression)
Take the value provided by the given
AggregationExpression. |
static ObjectOperators.ObjectOperatorFactory |
valueOf(String fieldReference)
Take the value referenced by given fieldReference.
|
public static ObjectOperators.ObjectOperatorFactory valueOf(String fieldReference)
fieldReference - must not be null.ObjectOperators.ObjectOperatorFactory.public static ObjectOperators.ObjectOperatorFactory valueOf(AggregationExpression expression)
AggregationExpression.expression - must not be null.ObjectOperators.ObjectOperatorFactory.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.