Package org.eclipse.rdf4j.sail.lmdb
Class LmdbStoreConnection
- 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.lmdb.LmdbStoreConnection
-
- All Implemented Interfaces:
AutoCloseable,FederatedServiceResolverClient,InferencerConnection,NotifyingSailConnection,SailConnection
public class LmdbStoreConnection extends SailSourceConnection
Connection to anLmdbStore.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLmdbStoreConnection(LmdbStore 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()-
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, setTransactionSettings, 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, getSailBase, getSharedConnectionLock, getStatements, getTransactionIsolation, getTransactionLock, hasStatement, hasStatementInternal, isActive, isActiveOperation, isOpen, iterationClosed, pendingAdds, pendingRemovals, prepare, registerIteration, removeNamespace, removeStatements, rollback, setNamespace, setStatementsAdded, setStatementsRemoved, 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, size
-
-
-
-
Field Detail
-
lmdbStore
protected final LmdbStore lmdbStore
-
-
Constructor Detail
-
LmdbStoreConnection
protected LmdbStoreConnection(LmdbStore sail) throws IOException
- Throws:
IOException
-
-
Method Detail
-
startTransactionInternal
protected void startTransactionInternal() throws SailException- Overrides:
startTransactionInternalin classSailSourceConnection- Throws:
SailException
-
commitInternal
protected void commitInternal() throws SailException- Overrides:
commitInternalin classSailSourceConnection- Throws:
SailException
-
rollbackInternal
protected void rollbackInternal() throws SailException- Overrides:
rollbackInternalin classSailSourceConnection- Throws:
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 SailException- Specified by:
addStatementInternalin classorg.eclipse.rdf4j.sail.helpers.AbstractSailConnection- Throws:
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 SailException- Specified by:
addInferredStatementin interfaceInferencerConnection- Overrides:
addInferredStatementin classSailSourceConnection- Throws:
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 SailException- Specified by:
removeStatementsInternalin classorg.eclipse.rdf4j.sail.helpers.AbstractSailConnection- Throws:
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 SailException- Specified by:
removeInferredStatementin interfaceInferencerConnection- Overrides:
removeInferredStatementin classSailSourceConnection- Throws:
SailException
-
clearInternal
protected void clearInternal(org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Overrides:
clearInternalin classSailSourceConnection- Throws:
SailException
-
clearInferred
public void clearInferred(org.eclipse.rdf4j.model.Resource... contexts) throws SailException- Specified by:
clearInferredin interfaceInferencerConnection- Overrides:
clearInferredin classSailSourceConnection- Throws:
SailException
-
-