use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class ArangoDBConfigurationTest method shouldCreateKeyValueFactoryFromFile.
@Test
public void shouldCreateKeyValueFactoryFromFile() {
BucketManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class DocumentQueryTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("person:id");
keyValueEntityManager.remove("person:id2");
keyValueEntityManager.remove("person:id3");
keyValueEntityManager.remove("person:id4");
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class SearchQueryTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("city:salvador");
keyValueEntityManager.remove("city:sao_paulo");
keyValueEntityManager.remove("city:rio_janeiro");
keyValueEntityManager.remove("city:manaus");
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseBucketManagerTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove(KEY_OTAVIO);
keyValueEntityManager.remove(KEY_SORO);
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseKeyValueConfigurationTest method shouldCreateKeyValueFactoryFromFile.
@Test
public void shouldCreateKeyValueFactoryFromFile() {
BucketManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
Aggregations