Class SaveDouble
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.from_long.SaveDouble
- All Implemented Interfaces:
LongToDoubleFunction
Save a value to a named thread-local variable, where the variable
name is fixed or a generated variable name from a provided function.
Note that the input type is not that suitable for constructing names,
so this is more likely to be used in an indirect naming pattern like
SaveDouble(Load('id'))
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SaveDouble
-
SaveDouble
-
-
Method Details
-
applyAsDouble
public double applyAsDouble(long value) - Specified by:
applyAsDoublein interfaceLongToDoubleFunction
-