mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-28 01:31:05 -06:00
example map usage for proposed change
This commit is contained in:
parent
722aebbaee
commit
941f08c017
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user