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 com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpression
toDbObject
in interface AggregationExpression
public com.mongodb.DBObject toDbObject(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–2019 Pivotal Software, Inc.. All rights reserved.