Uses of Class
org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ArithmeticOperators.Round in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionArithmeticOperators.Round.place
(int place) The place to round to.The place to round to defined by via a field reference that resolves to an integer between -20 and 100, exclusive.ArithmeticOperators.Round.placeOf
(AggregationExpression expression) The place to round to defined by an expression that resolves to an integer between -20 and 100, exclusive.ArithmeticOperators.ArithmeticOperatorFactory.round()
Creates newAggregationExpression
that rounds a number to a whole integer or to a specified decimal place.static ArithmeticOperators.Round
Round the given numeric (integer, double, decimal, or long) value.ArithmeticOperators.ArithmeticOperatorFactory.roundToPlace
(int place) Creates newAggregationExpression
that rounds a number to a specified decimal place.static ArithmeticOperators.Round
ArithmeticOperators.Round.roundValueOf
(String fieldReference) Round the value of the field that resolves to an integer, double, decimal, or long.static ArithmeticOperators.Round
ArithmeticOperators.Round.roundValueOf
(AggregationExpression expression) Round the outcome of the given expression hat resolves to an integer, double, decimal, or long.