Search in sources :

Example 1 with NodeTableBuilder

use of org.apache.jena.tdb.setup.NodeTableBuilder 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;
}
Also used : NodeTableBuilder(org.apache.jena.tdb.setup.NodeTableBuilder) DatasetBuilderStd(org.apache.jena.tdb.setup.DatasetBuilderStd) BlockMgrBuilder(org.apache.jena.tdb.setup.BlockMgrBuilder) DatasetGraphTDB(org.apache.jena.tdb.store.DatasetGraphTDB)

Example 2 with NodeTableBuilder

use of org.apache.jena.tdb.setup.NodeTableBuilder 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;
}
Also used : NodeTableBuilder(org.apache.jena.tdb.setup.NodeTableBuilder) DatasetBuilderStd(org.apache.jena.tdb.setup.DatasetBuilderStd) BlockMgrBuilder(org.apache.jena.tdb.setup.BlockMgrBuilder) DatasetGraphTDB(org.apache.jena.tdb.store.DatasetGraphTDB)

Aggregations

BlockMgrBuilder (org.apache.jena.tdb.setup.BlockMgrBuilder)2 DatasetBuilderStd (org.apache.jena.tdb.setup.DatasetBuilderStd)2 NodeTableBuilder (org.apache.jena.tdb.setup.NodeTableBuilder)2 DatasetGraphTDB (org.apache.jena.tdb.store.DatasetGraphTDB)2