public NanoSparqlObjectManager(final RemoteRepository repo, final String namespace) { super(repo.getSparqlEndPoint(), BigdataValueFactoryImpl .getInstance(namespace)); m_repo = repo; }
public NanoSparqlObjectManager(final RemoteRepository repo, final String namespace) { super(repo.getSparqlEndPoint(), BigdataValueFactoryImpl .getInstance(namespace)); m_repo = repo; }
/** * Return a {@link RemoteRepository} for this connection. * * @see RemoteRepositoryManager#new */ protected RemoteRepository getRepositoryForConnection() { final IRemoteTx tx = remoteTx.get(); if (tx != null) { /* * Return a RemoteRepository that will use a view that is consistent * with an isolated view of the transaction. */ final RemoteRepository rtmp = repo.getRemoteRepository(); final String sparqlEndpointURL = rtmp.getSparqlEndPoint(); final RemoteRepositoryManager rmgr = rtmp.getRemoteRepositoryManager(); return rmgr.getRepositoryForURL(sparqlEndpointURL, tx); } /* * The returned repository does not add the ×tamp= URL query * parameter. */ return repo.getRemoteRepository(); }
1, f.createURI(m_repo.getSparqlEndPoint())));
1, f.createURI(m_repo.getSparqlEndPoint())));