Package org.eclipse.rdf4j.sail.shacl
Class ShaclSailConnection
- java.lang.Object
-
- org.eclipse.rdf4j.sail.helpers.SailConnectionWrapper
-
- org.eclipse.rdf4j.sail.helpers.NotifyingSailConnectionWrapper
-
- org.eclipse.rdf4j.sail.shacl.ShaclSailConnection
-
- All Implemented Interfaces:
AutoCloseable,org.eclipse.rdf4j.query.algebra.evaluation.federation.FederatedServiceResolverClient,ThreadSafetyAware,NotifyingSailConnection,SailConnection,SailConnectionListener
public class ShaclSailConnection extends NotifyingSailConnectionWrapper implements SailConnectionListener
- Author:
- Heshan Jayasinghe, HÃ¥vard Ottestad
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShaclSailConnection.Settings
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConnectionListener(SailConnectionListener listener)voidaddStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)voidaddStatement(UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)voidbegin()voidbegin(org.eclipse.rdf4j.common.transaction.IsolationLevel level)voidclear(org.eclipse.rdf4j.model.Resource... contexts)voidclose()voidcommit()RdfsSubClassOfReasonergetRdfsSubClassOfReasoner()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement>getStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts)booleanhasStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts)voidprepare()voidremoveConnectionListener(SailConnectionListener listener)voidremoveStatement(UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)voidremoveStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)ValidationReportrevalidate()voidrollback()voidsetTransactionSettings(org.eclipse.rdf4j.common.transaction.TransactionSetting... settings)voidstatementAdded(org.eclipse.rdf4j.model.Statement statement)voidstatementRemoved(org.eclipse.rdf4j.model.Statement statement)-
Methods inherited from class org.eclipse.rdf4j.sail.helpers.NotifyingSailConnectionWrapper
getWrappedConnection
-
Methods inherited from class org.eclipse.rdf4j.sail.helpers.SailConnectionWrapper
clearNamespaces, endUpdate, evaluate, explain, flush, getComparator, getContextIDs, getFederatedServiceResolver, getNamespace, getNamespaces, getStatements, getSupportedOrders, isActive, isOpen, prepareQuery, removeNamespace, setFederatedServiceResolver, setNamespace, size, size, startUpdate, supportsConcurrentReads
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.sail.SailConnection
clearNamespaces, endUpdate, evaluate, explain, flush, getComparator, getContextIDs, getNamespace, getNamespaces, getStatements, getSupportedOrders, isActive, isOpen, prepareQuery, removeNamespace, setNamespace, size, startUpdate
-
-
-
-
Field Detail
-
sail
public final ShaclSail sail
-
-
Method Detail
-
setTransactionSettings
public void setTransactionSettings(org.eclipse.rdf4j.common.transaction.TransactionSetting... settings)
- Specified by:
setTransactionSettingsin interfaceSailConnection- Overrides:
setTransactionSettingsin classSailConnectionWrapper
-
begin
public void begin() throws SailException- Specified by:
beginin interfaceSailConnection- Overrides:
beginin classSailConnectionWrapper- Throws:
SailException
-
begin
public void begin(org.eclipse.rdf4j.common.transaction.IsolationLevel level) throws SailException- Specified by:
beginin interfaceSailConnection- Overrides:
beginin classSailConnectionWrapper- Throws:
SailException
-
addConnectionListener
public void addConnectionListener(SailConnectionListener listener)
- Specified by:
addConnectionListenerin interfaceNotifyingSailConnection- Overrides:
addConnectionListenerin classNotifyingSailConnectionWrapper
-
removeConnectionListener
public void removeConnectionListener(SailConnectionListener listener)
- Specified by:
removeConnectionListenerin interfaceNotifyingSailConnection- Overrides:
removeConnectionListenerin classNotifyingSailConnectionWrapper
-
commit
public void commit() throws SailException- Specified by:
commitin interfaceSailConnection- Overrides:
commitin classSailConnectionWrapper- Throws:
SailException
-
addStatement
public void addStatement(UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts) throws SailException
- Specified by:
addStatementin interfaceSailConnection- Overrides:
addStatementin classSailConnectionWrapper- Throws:
SailException
-
removeStatement
public void removeStatement(UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts) throws SailException
- Specified by:
removeStatementin interfaceSailConnection- Overrides:
removeStatementin classSailConnectionWrapper- Throws:
SailException
-
addStatement
public void addStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Specified by:
addStatementin interfaceSailConnection- Overrides:
addStatementin classSailConnectionWrapper- Throws:
SailException
-
removeStatements
public void removeStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Specified by:
removeStatementsin interfaceSailConnection- Overrides:
removeStatementsin classSailConnectionWrapper- Throws:
SailException
-
clear
public void clear(org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Specified by:
clearin interfaceSailConnection- Overrides:
clearin classSailConnectionWrapper- Throws:
SailException
-
rollback
public void rollback() throws SailException- Specified by:
rollbackin interfaceSailConnection- Overrides:
rollbackin classSailConnectionWrapper- Throws:
SailException
-
close
public void close() throws SailException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSailConnection- Overrides:
closein classSailConnectionWrapper- Throws:
SailException
-
prepare
public void prepare() throws SailException- Specified by:
preparein interfaceSailConnection- Overrides:
preparein classSailConnectionWrapper- Throws:
SailException
-
statementAdded
public void statementAdded(org.eclipse.rdf4j.model.Statement statement)
- Specified by:
statementAddedin interfaceSailConnectionListener
-
statementRemoved
public void statementRemoved(org.eclipse.rdf4j.model.Statement statement)
- Specified by:
statementRemovedin interfaceSailConnectionListener
-
getRdfsSubClassOfReasoner
public RdfsSubClassOfReasoner getRdfsSubClassOfReasoner()
-
getStatements
public org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> getStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Specified by:
getStatementsin interfaceSailConnection- Overrides:
getStatementsin classSailConnectionWrapper- Throws:
SailException
-
hasStatement
public boolean hasStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Specified by:
hasStatementin interfaceSailConnection- Overrides:
hasStatementin classSailConnectionWrapper- Throws:
SailException
-
revalidate
public ValidationReport revalidate()
-
-