use of org.apache.jena.tdb.setup.DatasetBuilderStd in project jena by apache.
the class DatasetBuilderTxn method buildReadonly.
private DatasetGraphTDB buildReadonly() {
BlockMgrBuilder blockMgrBuilder = new BlockMgrBuilderReadonly();
NodeTableBuilder nodeTableBuilder = new NodeTableBuilderReadonly();
DatasetBuilderStd x = new DatasetBuilderStd(blockMgrBuilder, nodeTableBuilder);
DatasetGraphTDB dsg2 = x._build(dsg.getLocation(), dsg.getConfig().params, false, dsg.getReorderTransform());
return dsg2;
}
use of org.apache.jena.tdb.setup.DatasetBuilderStd in project jena by apache.
the class DatasetBuilderTxn method buildWritable.
private DatasetGraphTDB buildWritable() {
BlockMgrBuilder blockMgrBuilder = new BlockMgrBuilderTx();
NodeTableBuilder nodeTableBuilder = new NodeTableBuilderTx();
DatasetBuilderStd x = new DatasetBuilderStd(blockMgrBuilder, nodeTableBuilder);
DatasetGraphTDB dsg2 = x._build(dsg.getLocation(), dsg.getConfig().params, true, dsg.getReorderTransform());
dsg2.getContext().putAll(dsg.getContext());
return dsg2;
}
Aggregations