@Override public NotifyingSailConnection getConnection() throws SailException { return new ShaclSailConnection(this, super.getConnection(), super.getConnection()); }
@Override public NotifyingSailConnection getConnection() throws SailException { return new ShaclSailConnection(this, super.getConnection(), super.getConnection()); }
public SchemaCachingRDFSInferencerConnection getConnection() throws SailException { InferencerConnection e = (InferencerConnection)super.getConnection(); return new SchemaCachingRDFSInferencerConnection(this, e); }
@Override public InferencerConnection getConnection() throws SailException { try { InferencerConnection con = (InferencerConnection)super.getConnection(); return new Connection(con); } catch (ClassCastException e) { throw new SailException(e.getMessage(), e); } }
@Override public NotifyingSailConnection getConnection() throws SailException { if (!closed.get()) { return new LuceneSailConnection(super.getConnection(), luceneIndex, this); } else { throw new SailException("Sail is shut down or not initialized"); } }
@Override public InferencerConnection getConnection() throws SailException { try { InferencerConnection con = (InferencerConnection)super.getConnection(); return new DirectTypeHierarchyInferencerConnection(con); } catch (ClassCastException e) { throw new SailException(e.getMessage(), e); } }
/** * @return @throws SailException */ @Override public NotifyingSailConnection getConnection() throws SailException { if (si == null) { throw new SailException("Index is not created"); } // the connection from the super is created only when the index exists return new LuceneSpinSailConnection(super.getConnection(), si, this); }
@Override public InferencerConnection getConnection() throws SailException { try { InferencerConnection con = (InferencerConnection)super.getConnection(); return new DedupingInferencerConnection(con, getValueFactory()); } catch (ClassCastException e) { throw new SailException(e.getMessage(), e); } } }