use of org.locationtech.geowave.adapter.vector.plugin.GeoWaveGTDataStoreFactory in project geowave by locationtech.
the class BaseDataStoreTest method createDataStore.
protected DataStore createDataStore() throws IOException, GeoWavePluginException {
final Map<String, Serializable> params = new HashMap<>();
params.put("gwNamespace", "test_" + getClass().getName() + "_" + name.getMethodName());
final StoreFactoryFamilySpi storeFactoryFamily = new MemoryStoreFactoryFamily();
// delete existing data
new GeoWavePluginConfig(storeFactoryFamily, params).getDataStore().delete(QueryBuilder.newBuilder().build());
return new GeoWaveGTDataStoreFactory(storeFactoryFamily).createNewDataStore(params);
}
Aggregations