mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
add customizable timers to CQL driver
This commit is contained in:
@@ -15,8 +15,8 @@ package io.nosqlbench.virtdata.core.bindings;
|
||||
public class ContextualArrayBindings<C, R> implements Binder<R> {
|
||||
|
||||
private final C context;
|
||||
private Bindings bindings;
|
||||
private ValuesArrayBinder<C, R> valuesArrayBinder;
|
||||
private final Bindings bindings;
|
||||
private final ValuesArrayBinder<C, R> valuesArrayBinder;
|
||||
|
||||
public ContextualArrayBindings(Bindings bindings, C context, ValuesArrayBinder<C, R> valuesArrayBinder) {
|
||||
this.bindings = bindings;
|
||||
@@ -40,6 +40,9 @@ public class ContextualArrayBindings<C, R> implements Binder<R> {
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Binding error:" + bindings.getTemplate().toString(allGeneratedValues), e);
|
||||
}
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "context: '" + this.context.toString() + "' bindings:'" + this.bindings.toString() + "'";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user