Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
ArithmeticOperators.Round |
ArithmeticOperators.Round.place(int place)
The place to round to.
|
ArithmeticOperators.Round |
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.Round |
ArithmeticOperators.Round.placeOf(String fieldReference)
The place to round to defined by via a field reference that resolves to an integer between -20 and 100,
exclusive.
|
ArithmeticOperators.Round |
ArithmeticOperators.ArithmeticOperatorFactory.round()
Creates new
AggregationExpression that rounds a number to a whole integer or to a specified decimal
place. |
static ArithmeticOperators.Round |
ArithmeticOperators.Round.round(Number value)
Round the given numeric (integer, double, decimal, or long) value.
|
ArithmeticOperators.Round |
ArithmeticOperators.ArithmeticOperatorFactory.roundToPlace(int place)
Creates new
AggregationExpression that rounds a number to a specified decimal place. |
static ArithmeticOperators.Round |
ArithmeticOperators.Round.roundValueOf(AggregationExpression expression)
Round the outcome of the given expression hat resolves to an integer, double, decimal, or long.
|
static ArithmeticOperators.Round |
ArithmeticOperators.Round.roundValueOf(String fieldReference)
Round the value of the field that resolves to an integer, double, decimal, or long.
|
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.