use of org.eclipse.jnosql.communication.couchbase.keyvalue.CouchbaseKeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class DocumentQueryTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete("person:id");
keyValueEntityManager.delete("person:id2");
keyValueEntityManager.delete("person:id3");
keyValueEntityManager.delete("person:id4");
}
use of org.eclipse.jnosql.communication.couchbase.keyvalue.CouchbaseKeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class SearchQueryTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete("city:salvador");
keyValueEntityManager.delete("city:sao_paulo");
keyValueEntityManager.delete("city:rio_janeiro");
keyValueEntityManager.delete("city:manaus");
}
use of org.eclipse.jnosql.communication.couchbase.keyvalue.CouchbaseKeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class CouchbaseDocumentCollectionManagerTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete("person:id");
}
Aggregations