io.nosqlbench.nb.api.config.params.MapBackedElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package io.nosqlbench.nb.api.config.params;
import java.util.Map;
import java.util.Set;
public class MapBackedElement implements ElementData {
private final Map map;
public MapBackedElement(Map map) {
this.map = map;
}
@Override
public Object get(String name) {
return map.get(name);
}
@Override
public Set getKeys() {
return map.keySet();
}
@Override
public boolean containsKey(String name) {
return map.containsKey(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy