io.nosqlbench.nb.api.config.params.MapBackedConfigSource 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.List;
import java.util.Map;
public class MapBackedConfigSource implements ConfigSource {
@Override
public boolean canRead(Object source) {
return (source instanceof Map);
}
@Override
public List getAll(Object source) {
return List.of(new MapBackedElement((Map) source));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy