example map usage for proposed change

This commit is contained in:
Jonathan Shook 2020-06-09 13:40:59 -05:00
parent 722aebbaee
commit 941f08c017

View File

@ -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<String, Map<String,Object>> profiles = map.getProfiles();
// Map<String,Object> profile1 = profiles.get("profile1");
// profile1.putAll(OptionsMap.driverDefaultsMap());
// profile1.set("basic.request.timeout",10000);
}
}