Class ToBigDecimal
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_int.to_bigdecimal.ToBigDecimal
- All Implemented Interfaces:
IntFunction<BigDecimal>
-
Constructor Summary
ConstructorsConstructorDescriptionToBigDecimal(String context) Convert all input values to BigDecimal values with a specific MathContext. -
Method Summary
-
Constructor Details
-
ToBigDecimal
public ToBigDecimal() -
ToBigDecimal
Convert all input values to BigDecimal values with a specific MathContext. The value for context can be one of UNLIMITED, DECIMAL32, DECIMAL64, DECIMAL128, or any valid configuration supported byMathContext(String), such as"precision=32 roundingMode=CEILING". In the latter form, roundingMode can be any valid value forRoundingMode, like UP, DOWN, CEILING, FLOOR, HALF_UP, HALF_DOWN, HALF_EVEN, or UNNECESSARY.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceIntFunction<BigDecimal>
-