mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-25 10:10:32 -06:00
config space initializer should keep name
This commit is contained in:
parent
0564c30f9c
commit
8b1ac5b574
@ -22,7 +22,7 @@ public class Cqld4DriverAdapter extends BaseDriverAdapter<Cqld4Op, Cqld4Space> {
|
||||
|
||||
@Override
|
||||
public Function<String, ? extends Cqld4Space> getSpaceInitializer(NBConfiguration cfg) {
|
||||
return s -> new Cqld4Space(cfg);
|
||||
return s -> new Cqld4Space(s,cfg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -24,10 +24,12 @@ import java.util.stream.Collectors;
|
||||
|
||||
public class Cqld4Space {
|
||||
private final static Logger logger = LogManager.getLogger(Cqld4Space.class);
|
||||
private final String space;
|
||||
|
||||
CqlSession session;
|
||||
|
||||
public Cqld4Space(NBConfiguration cfg) {
|
||||
public Cqld4Space(String space,NBConfiguration cfg) {
|
||||
this.space = space;
|
||||
session = createSession(cfg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user