public static class ArithmeticOperators.Multiply extends Object
AggregationExpression for $multiply.protected String getMongoMethod()
public static ArithmeticOperators.Multiply valueOf(String fieldReference)
ArithmeticOperators.Multiply.fieldReference - must not be null.public static ArithmeticOperators.Multiply valueOf(AggregationExpression expression)
ArithmeticOperators.Multiply.expression - must not be null.public static ArithmeticOperators.Multiply valueOf(Number value)
ArithmeticOperators.Multiply.value - must not be null.public ArithmeticOperators.Multiply multiplyBy(String fieldReference)
public ArithmeticOperators.Multiply multiplyBy(AggregationExpression expression)
public ArithmeticOperators.Multiply multiplyBy(Number value)
public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressionpublic org.bson.Document toDocument(Object value, AggregationOperationContext context)
protected <T> T get(int index)
T - index - protected <T> T get(Object key)
T - key - protected boolean contains(Object key)
key - Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.