Uses of Class
org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
Packages that use ArithmeticOperators.Round
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ArithmeticOperators.Round in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return ArithmeticOperators.RoundModifier 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 newAggregationExpressionthat rounds a number to a whole integer or to a specified decimal place.static ArithmeticOperators.RoundRound the given numeric (integer, double, decimal, or long) value.ArithmeticOperators.ArithmeticOperatorFactory.roundToPlace(int place) Creates newAggregationExpressionthat rounds a number to a specified decimal place.static ArithmeticOperators.RoundArithmeticOperators.Round.roundValueOf(String fieldReference) Round the value of the field that resolves to an integer, double, decimal, or long.static ArithmeticOperators.RoundArithmeticOperators.Round.roundValueOf(AggregationExpression expression) Round the outcome of the given expression hat resolves to an integer, double, decimal, or long.