mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
docs improvements
This commit is contained in:
parent
10d5ac9732
commit
f26c8f436e
@ -36,7 +36,8 @@ public class NullOrPass implements Function<Object,Object> {
|
||||
if (o1 instanceof Long) {
|
||||
basis = (Long) o1;
|
||||
} else {
|
||||
throw new RuntimeException("The NullsRatio function requires a variable to have been saved with Save('somename')");
|
||||
throw new RuntimeException("The " + NullOrPass.class.getSimpleName() +
|
||||
" function requires a variable to have been saved with Save(" + varname + ")");
|
||||
}
|
||||
double v = rangefunc.applyAsDouble(basis);
|
||||
if (v <= ratio) {
|
||||
|
Loading…
Reference in New Issue
Block a user