Class NullOrLoad
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.NullOrLoad
- All Implemented Interfaces:
LongFunction<Object>
Reads a long variable from the input, hashes and scales it
to the unit interval 0.0d - 1.0d, then uses the result to determine whether
to return null object or a loaded value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NullOrLoad
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<Object>
-