Package org.eclipse.rdf4j.sail.nativerdf
Class NativeStoreConnection
- java.lang.Object
-
- org.eclipse.rdf4j.sail.helpers.AbstractSailConnection
-
- org.eclipse.rdf4j.sail.helpers.AbstractNotifyingSailConnection
-
- org.eclipse.rdf4j.sail.base.SailSourceConnection
-
- org.eclipse.rdf4j.sail.nativerdf.NativeStoreConnection
-
- All Implemented Interfaces:
AutoCloseable,FederatedServiceResolverClient,org.eclipse.rdf4j.sail.features.ThreadSafetyAware,InferencerConnection,org.eclipse.rdf4j.sail.NotifyingSailConnection,org.eclipse.rdf4j.sail.SailConnection
- Direct Known Subclasses:
LimitedSizeNativeStoreConnection
public class NativeStoreConnection extends SailSourceConnection implements org.eclipse.rdf4j.sail.features.ThreadSafetyAware
- Author:
- Arjohn Kampman
-
-
Field Summary
Fields Modifier and Type Field Description protected NativeStorenativeStore
-
Constructor Summary
Constructors Modifier Constructor Description protectedNativeStoreConnection(NativeStore sail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddInferredStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)protected voidaddStatementInternal(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)voidclearInferred(org.eclipse.rdf4j.model.Resource... contexts)protected voidclearInternal(org.eclipse.rdf4j.model.Resource... contexts)protected voidcommitInternal()booleanremoveInferredStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)protected voidremoveStatementsInternal(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)protected voidrollbackInternal()protected voidstartTransactionInternal()booleansupportsConcurrentReads()-
Methods inherited from class org.eclipse.rdf4j.sail.base.SailSourceConnection
addStatement, clearNamespacesInternal, closeInternal, endUpdateInternal, evaluateInternal, explain, flushUpdates, getContextIDsInternal, getEvaluationStrategy, getFederatedServiceResolver, getNamespaceInternal, getNamespacesInternal, getStatementsInternal, prepareInternal, removeNamespaceInternal, removeStatement, setFederatedServiceResolver, setNamespaceInternal, sizeInternal, startUpdate
-
Methods inherited from class org.eclipse.rdf4j.sail.helpers.AbstractNotifyingSailConnection
addConnectionListener, hasConnectionListeners, notifyStatementAdded, notifyStatementRemoved, removeConnectionListener
-
Methods inherited from class org.eclipse.rdf4j.sail.helpers.AbstractSailConnection
addStatement, autoStartTransaction, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getExclusiveConnectionLock, getNamespace, getNamespaces, getSharedConnectionLock, getStatements, getTransactionIsolation, getTransactionLock, isActive, isActiveOperation, isOpen, iterationClosed, pendingAdds, pendingRemovals, prepare, registerIteration, removeNamespace, removeStatements, rollback, setNamespace, size, transactionActive, verifyIsActive, verifyIsOpen
-
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.NotifyingSailConnection
addConnectionListener, removeConnectionListener
-
Methods inherited from interface org.eclipse.rdf4j.sail.SailConnection
addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getNamespace, getNamespaces, getStatements, hasStatement, isActive, isOpen, pendingRemovals, prepare, prepareQuery, removeNamespace, removeStatements, rollback, setNamespace, setTransactionSettings, size
-
-
-
-
Field Detail
-
nativeStore
protected final NativeStore nativeStore
-
-
Constructor Detail
-
NativeStoreConnection
protected NativeStoreConnection(NativeStore sail) throws IOException
- Throws:
IOException
-
-
Method Detail
-
startTransactionInternal
protected void startTransactionInternal() throws org.eclipse.rdf4j.sail.SailException- Overrides:
startTransactionInternalin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
commitInternal
protected void commitInternal() throws org.eclipse.rdf4j.sail.SailException- Overrides:
commitInternalin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
rollbackInternal
protected void rollbackInternal() throws org.eclipse.rdf4j.sail.SailException- Overrides:
rollbackInternalin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
addStatementInternal
protected void addStatementInternal(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 org.eclipse.rdf4j.sail.SailException- Specified by:
addStatementInternalin classorg.eclipse.rdf4j.sail.helpers.AbstractSailConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
addInferredStatement
public boolean addInferredStatement(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 org.eclipse.rdf4j.sail.SailException- Specified by:
addInferredStatementin interfaceInferencerConnection- Overrides:
addInferredStatementin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
removeStatementsInternal
protected void removeStatementsInternal(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 org.eclipse.rdf4j.sail.SailException- Specified by:
removeStatementsInternalin classorg.eclipse.rdf4j.sail.helpers.AbstractSailConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
removeInferredStatement
public boolean removeInferredStatement(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 org.eclipse.rdf4j.sail.SailException- Specified by:
removeInferredStatementin interfaceInferencerConnection- Overrides:
removeInferredStatementin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
clearInternal
protected void clearInternal(org.eclipse.rdf4j.model.Resource... contexts) throws org.eclipse.rdf4j.sail.SailException- Overrides:
clearInternalin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
clearInferred
public void clearInferred(org.eclipse.rdf4j.model.Resource... contexts) throws org.eclipse.rdf4j.sail.SailException- Specified by:
clearInferredin interfaceInferencerConnection- Overrides:
clearInferredin classSailSourceConnection- Throws:
org.eclipse.rdf4j.sail.SailException
-
supportsConcurrentReads
public boolean supportsConcurrentReads()
- Specified by:
supportsConcurrentReadsin interfaceorg.eclipse.rdf4j.sail.features.ThreadSafetyAware
-
-