Class NullOrPass

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.NullOrPass
All Implemented Interfaces:
Function<Object,Object>

public class NullOrPass extends Object implements Function<Object,Object>
Reads a long variable from the thread local variable map, hashes and scales it to the unit interval 0.0d - 1.0d, then uses the result to determine whether to return a null object or the input value.