public static class ArithmeticOperators.Divide extends Object
AggregationExpression for $divide.protected String getMongoMethod()
public static ArithmeticOperators.Divide valueOf(String fieldReference)
ArithmeticOperators.Divide.fieldReference - must not be null.public static ArithmeticOperators.Divide valueOf(AggregationExpression expression)
ArithmeticOperators.Divide.expression - must not be null.public static ArithmeticOperators.Divide valueOf(Number value)
ArithmeticOperators.Divide.value - must not be null.public ArithmeticOperators.Divide divideBy(String fieldReference)
public ArithmeticOperators.Divide divideBy(AggregationExpression expression)
public ArithmeticOperators.Divide divideBy(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.