private DatasetPrefixStorage dps() { return getDSG().getPrefixes(); }
@Override protected PrefixMapping createPrefixMapping() { if ( isDefaultGraph() ) return getDSG().getPrefixes().getPrefixMapping() ; if ( isUnionGraph() ) return getDSG().getPrefixes().getPrefixMapping() ; return getDSG().getPrefixes().getPrefixMapping(getGraphName().getURI()) ; }
public DataToTuples(DatasetGraphTDB dsgtdb, Destination<Tuple<NodeId>> tuples3, Destination<Tuple<NodeId>> tuples4, MonitorOutput output) { this.dsgtdb = dsgtdb; this.dest3 = tuples3; this.dest4 = tuples4; this.input = new ArrayBlockingQueue<>(LoaderConst.QueueSizeData); this.nodeTable = dsgtdb.getQuadTable().getNodeTupleTable().getNodeTable(); this.prefixes = dsgtdb.getPrefixes(); this.output = output; NodeTable nodeTable2 = dsgtdb.getTripleTable().getNodeTupleTable().getNodeTable(); if ( nodeTable != nodeTable2 ) throw new BulkLoaderException("Different node tables"); }
public static DatasetPrefixStorage makePrefixes(Location location) { DatasetGraphTDB ds = (DatasetGraphTDB)TDBBuilder.build(location) ; ds.begin(ReadWrite.WRITE); return ds.getPrefixes() ; }
public static DatasetPrefixStorage makePrefixes(Location location) { DatasetGraphTDB ds = (DatasetGraphTDB)TDBBuilder.build(location) ; ds.begin(ReadWrite.WRITE); return ds.getPrefixes() ; }
DatasetPrefixesTDB dps = (DatasetPrefixesTDB)dsgtdb.getPrefixes(); PrefixHandler prefixHandler = new PrefixHandler(dps, output); dataProcess.add(prefixHandler);
public DataToTuplesInlineSingle(DatasetGraphTDB dsgtdb, Consumer<Tuple<NodeId>> dest3, Consumer<Tuple<NodeId>> dest4, MonitorOutput output) { this.dsgtdb = dsgtdb; this.dest3 = dest3; this.dest4 = dest4; this.output = output; this.nodeTable = dsgtdb.getTripleTable().getNodeTupleTable().getNodeTable(); this.prefixes = dsgtdb.getPrefixes(); NodeTable nodeTable2 = dsgtdb.getQuadTable().getNodeTupleTable().getNodeTable(); if ( nodeTable != nodeTable2 ) throw new BulkLoaderException("Different node tables"); }
public DataToTuplesInline(DatasetGraphTDB dsgtdb, Destination<Tuple<NodeId>> dest3, Destination<Tuple<NodeId>> dest4, MonitorOutput output) { this.dsgtdb = dsgtdb; this.dest3 = dest3; this.dest4 = dest4; this.output = output; this.nodeTable = dsgtdb.getTripleTable().getNodeTupleTable().getNodeTable(); this.prefixes = dsgtdb.getPrefixes(); NodeTable nodeTable2 = dsgtdb.getQuadTable().getNodeTupleTable().getNodeTable(); if ( nodeTable != nodeTable2 ) throw new BulkLoaderException("Different node tables"); }