use of org.apache.jena.sdb.store.DatasetGraphSDB in project jena by apache.
the class TestAssembler method dataset_1.
@Test
public void dataset_1() {
Dataset ds = DatasetFactory.assemble(dir + "dataset.ttl");
assertNotNull(ds);
// Check it will be dispatched to SDB
DatasetGraph dsg = ds.asDatasetGraph();
assertTrue(dsg instanceof DatasetGraphSDB);
}
use of org.apache.jena.sdb.store.DatasetGraphSDB in project jena by apache.
the class TestAssembler method create.
private Store create(Model assem) {
// Create a store and format
Dataset ds = DatasetFactory.assemble(assem);
Store store = ((DatasetGraphSDB) ds.asDatasetGraph()).getStore();
store.getTableFormatter().create();
return store;
}
Aggregations