From 941f08c0170e22f0c9ae078dd3c0f7dcd1334432 Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Tue, 9 Jun 2020 13:40:59 -0500 Subject: [PATCH] example map usage for proposed change --- .../cqld4/config/MapExampleTest.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 driver-cqld4/src/test/java/io/nosqlbench/activitytype/cqld4/config/MapExampleTest.java diff --git a/driver-cqld4/src/test/java/io/nosqlbench/activitytype/cqld4/config/MapExampleTest.java b/driver-cqld4/src/test/java/io/nosqlbench/activitytype/cqld4/config/MapExampleTest.java new file mode 100644 index 000000000..a770fc5ae --- /dev/null +++ b/driver-cqld4/src/test/java/io/nosqlbench/activitytype/cqld4/config/MapExampleTest.java @@ -0,0 +1,21 @@ +package io.nosqlbench.activitytype.cqld4.config; + +import com.datastax.oss.driver.api.core.config.OptionsMap; +import org.junit.Test; + +import java.util.Map; + +import static org.assertj.core.api.Assertions.assertThat; + +public class MapExampleTest { + + @Test + public void easyMaps() { +// OptionsMap map = new OptionsMap(); +// Map> profiles = map.getProfiles(); +// Map profile1 = profiles.get("profile1"); +// profile1.putAll(OptionsMap.driverDefaultsMap()); +// profile1.set("basic.request.timeout",10000); + } + +} \ No newline at end of file