public void reset(TransactionalSystem txnSystem, TripleTable tripleTable, QuadTable quadTable, DatasetPrefixesTDB prefixes, Location location, StoreParams params) { this.txnSystem = txnSystem ; this.storage = new StorageTDB(tripleTable, quadTable, prefixes, location, params); this.defaultGraphTDB = getDefaultGraphTDB(); }
/** Application should not create a {@code DatasetGraphTDB} directly */ public DatasetGraphTDB(TransactionalSystem txnSystem, TripleTable tripleTable, QuadTable quadTable, DatasetPrefixesTDB prefixes, ReorderTransformation transform, Location location, StoreParams params) { reset(txnSystem, tripleTable, quadTable, prefixes, location, params) ; this.transform = transform ; this.defaultGraphTDB = getDefaultGraphTDB() ; }
@Override protected int graphBaseSize() { if ( isDefaultGraph() ) return getDSG().getDefaultGraphTDB().size(); return getDSG().getGraphTDB(getGraphName()).size(); }
return optimizeExecuteTriples(ds.getDefaultGraphTDB(), input, bgp, exprs, execCxt) ;