IntegerGenerator warmUpKeySequence = new CounterGenerator(insertStart);
this.warmUpKeyProvider = getKeyProvider(keyTypeClass, warmUpKeySequence, 0);
this.transformsChooser = null;
if(hasTransforms) {
this.transformsChooser = new DiscreteGenerator();
List<String> transforms = BenchmarkViews.getTransforms();
for(String transform: transforms) {
this.transformsChooser.addValue(1.0, transform);
}
}
operationChooser = new DiscreteGenerator();
if(readProportion > 0) {
operationChooser.addValue(readProportion, Benchmark.READS);
}
if(mixedProportion > 0) {
operationChooser.addValue(mixedProportion, Benchmark.MIXED);