@Override public void setNamespace(String prefix, String name) throws SailException { wrappedCon.setNamespace(prefix, name); }
@Override public void setNamespace(String prefix, String name) throws SailException { wrappedCon.setNamespace(prefix, name); }
public Object execute(final SailConnection sc) throws SailException { sc.setNamespace(prefix, uri); return null; } }
protected void setNamespaceInternal(final String prefix, final String name) throws SailException { baseSailConnection.setNamespace(prefix, name); }
protected void setNamespaceInternal(final String prefix, final String name) throws SailException { baseSailConnection.setNamespace(prefix, name); }
@Override protected void addNamespace(String prefix, String name) throws RDF4JException { if (con.getNamespace(prefix) == null) { con.setNamespace(prefix, name); } }
@Override public void setNamespace(String prefix, String uri) throws SailException { this.getWrappedConnection().setNamespace(prefix, uri); operations.add(new SetNamespaceOperation(prefix, uri)); }
protected void setNamespaceInternal(final String prefix, final String name) throws SailException { if (ReplayConfiguration.LOG_WRITE_OPERATIONS) { queryHandler.handle(new SetNamespaceCall(id, prefix, name)); } baseSailConnection.setNamespace(prefix, name); }
public void handleNamespace(String s, String s1) throws RDFHandlerException { try { switch (action) { case ADD: sailConnection.setNamespace(s, s1); break; case REMOVE: String name = sailConnection.getNamespace(s); if (null != name && name.equals(s1)) { sailConnection.removeNamespace(s); } break; } } catch (SailException e) { throw new RDFHandlerException(e); } }
@Override public void setNamespace(String prefix, String name) throws RepositoryException { try { boolean local = startLocalTransaction(); sailConnection.setNamespace(prefix, name); conditionalCommit(local); } catch (SailReadOnlyException e) { throw new RepositoryReadOnlyException(e.getMessage(), e); } catch (SailException e) { throw new RepositoryException(e); } }