use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class KeyValueEntityManagerFactoryUtils method get.
public static BucketManagerFactory get() {
KeyValueConfiguration configuration = new HazelcastKeyValueConfiguration();
BucketManagerFactory managerFactory = configuration.get();
return managerFactory;
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseDocumentCollectionManagerTest 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");
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseListTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("jnosql:list");
}
use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseMapTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = new CouchbaseKeyValueConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.remove("jnosql:map");
}
Aggregations