Uses of Class
org.eclipse.rdf4j.sail.SailException
-
Packages that use SailException Package Description org.eclipse.rdf4j.sail RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.org.eclipse.rdf4j.sail.helpers Abstract base implementation and internal helper classes for Sail implementations. -
-
Uses of SailException in org.eclipse.rdf4j.sail
Subclasses of SailException in org.eclipse.rdf4j.sail Modifier and Type Class Description classSailConflictExceptionAn exception thrown by some methods in Sail to indicate that a requested isolation level could not be fulfilled.classSailLockedExceptionIndicates that a SAIL cannot be initialised because the configured persisted location is locked.classSailReadOnlyExceptionIndicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read from.classUnknownSailTransactionStateExceptionIndicates that a SAIL's transaction state (active or inactive) cannot be determined.Methods in org.eclipse.rdf4j.sail that return types with arguments of type SailException Modifier and Type Method Description org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>SailConnection. getContextIDs()Returns the set of all unique context identifiers that are used to store statements.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>SailConnection. getNamespaces()Gets the namespaces relevant to the data contained in this Sail object.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>SailConnection. 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)Gets all statements from the specified contexts that have a specific subject, predicate and/or object.Methods in org.eclipse.rdf4j.sail that throw SailException Modifier and Type Method Description voidSailConnection. 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)Adds a statement to the store.voidSailConnection. addStatement(UpdateContext op, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)Adds a statement to the store.voidSailConnection. begin()Begins a transaction requiringSailConnection.commit()orSailConnection.rollback()to be called to close the transaction.voidSailConnection. begin(IsolationLevel level)Begins a transaction with the specifiedIsolationLevellevel, requiringSailConnection.commit()orSailConnection.rollback()to be called to close the transaction.voidSailConnection. clear(org.eclipse.rdf4j.model.Resource... contexts)Removes all statements from the specified/all contexts.voidSailConnection. clearNamespaces()Removes all namespace declarations from the repository.voidSailConnection. close()Closes the connection.voidSailConnection. commit()Commits any updates that have been performed since the last timeSailConnection.commit()orSailConnection.rollback()was called.voidSailConnection. endUpdate(UpdateContext op)Indicates that the givenopwill not be used in any call again.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends BindingSet,QueryEvaluationException>SailConnection. evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)Evaluates the supplied TupleExpr on the data contained in this Sail object, using the (optional) dataset and supplied bindings as input parameters.voidSailConnection. flush()Flushes any pending updates and notify changes to listeners as appropriate.NotifyingSailConnectionNotifyingSail. getConnection()Opens a connection on the Sail which can be used to query and update data.SailConnectionSail. getConnection()Opens a connection on the Sail which can be used to query and update data.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>SailConnection. getContextIDs()Returns the set of all unique context identifiers that are used to store statements.StringSailConnection. getNamespace(String prefix)Gets the namespace that is associated with the specified prefix, if any.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>SailConnection. getNamespaces()Gets the namespaces relevant to the data contained in this Sail object.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>SailConnection. 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)Gets all statements from the specified contexts that have a specific subject, predicate and/or object.default booleanSailConnection. 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)Determines if the store contains any statements from the specified contexts that have a specific subject, predicate and/or object.voidSail. init()Initializes the Sail.booleanSailConnection. isOpen()Checks whether this SailConnection is open.booleanSail. isWritable()Checks whether this Sail object is writable, i.e.voidSailConnection. prepare()Checks for an error state in the active transaction that would force the transaction to be rolled back.voidSailConnection. removeNamespace(String prefix)Removes a namespace declaration by removing the association between a prefix and a namespace name.voidSailConnection. removeStatement(UpdateContext op, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)Removes all statements matching the specified subject, predicate and object from the repository.voidSailConnection. 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)Removes all statements matching the specified subject, predicate and object from the repository.voidSailConnection. rollback()Rolls back the transaction, discarding any uncommitted changes that have been made in this SailConnection.voidSailConnection. setNamespace(String prefix, String name)Sets the prefix for a namespace.voidSail. shutDown()Shuts down the Sail, giving it the opportunity to synchronize any stale data.longSailConnection. size(org.eclipse.rdf4j.model.Resource... contexts)Returns the number of (explicit) statements in the store, or in specific contexts.voidSailConnection. startUpdate(UpdateContext op)Signals the start of an update operation. -
Uses of SailException in org.eclipse.rdf4j.sail.helpers
Methods in org.eclipse.rdf4j.sail.helpers that return types with arguments of type SailException Modifier and Type Method Description org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>AbstractSailConnection. getContextIDs()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>SailConnectionWrapper. getContextIDs()protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>AbstractSailConnection. getContextIDsInternal()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>AbstractSailConnection. getNamespaces()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>SailConnectionWrapper. getNamespaces()protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>AbstractSailConnection. getNamespacesInternal()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>AbstractSailConnection. 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)org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>SailConnectionWrapper. 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)protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>AbstractSailConnection. getStatementsInternal(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)Methods in org.eclipse.rdf4j.sail.helpers that throw SailException Modifier and Type Method Description voidAbstractSailConnection. 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)voidAbstractSailConnection. addStatement(UpdateContext op, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)The default implementation buffers added statements until the update operation is complete.voidSailConnectionWrapper. 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)voidSailConnectionWrapper. 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)protected abstract voidAbstractSailConnection. 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)protected voidAbstractSailConnection. autoStartTransaction()Deprecated.UseAbstractSailConnection.verifyIsActive()instead.voidAbstractSailConnection. begin()voidAbstractSailConnection. begin(IsolationLevel isolationLevel)voidSailConnectionWrapper. begin()voidSailConnectionWrapper. begin(IsolationLevel level)voidAbstractSailConnection. clear(org.eclipse.rdf4j.model.Resource... contexts)voidSailConnectionWrapper. clear(org.eclipse.rdf4j.model.Resource... contexts)protected abstract voidAbstractSailConnection. clearInternal(org.eclipse.rdf4j.model.Resource... contexts)voidAbstractSailConnection. clearNamespaces()voidSailConnectionWrapper. clearNamespaces()protected abstract voidAbstractSailConnection. clearNamespacesInternal()voidAbstractSailConnection. close()voidSailConnectionWrapper. close()protected abstract voidAbstractSailConnection. closeInternal()voidAbstractSailConnection. commit()voidSailConnectionWrapper. commit()protected abstract voidAbstractSailConnection. commitInternal()voidAbstractSailConnection. endUpdate(UpdateContext op)voidSailConnectionWrapper. endUpdate(UpdateContext modify)protected voidAbstractSailConnection. endUpdateInternal(UpdateContext op)org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends BindingSet,QueryEvaluationException>AbstractSailConnection. evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends BindingSet,QueryEvaluationException>SailConnectionWrapper. evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends BindingSet,QueryEvaluationException>AbstractSailConnection. evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)voidAbstractSailConnection. flush()voidSailConnectionWrapper. flush()NotifyingSailConnectionAbstractNotifyingSail. getConnection()SailConnectionAbstractSail. getConnection()NotifyingSailConnectionNotifyingSailWrapper. getConnection()SailConnectionSailWrapper. getConnection()protected abstract NotifyingSailConnectionAbstractNotifyingSail. getConnectionInternal()protected abstract SailConnectionAbstractSail. getConnectionInternal()Returns a store-specific SailConnection object.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>AbstractSailConnection. getContextIDs()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>SailConnectionWrapper. getContextIDs()protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Resource,SailException>AbstractSailConnection. getContextIDsInternal()protected LockAbstractSailConnection. getExclusiveConnectionLock()Deprecated, for removal: This API element is subject to removal in a future version.StringAbstractSailConnection. getNamespace(String prefix)StringSailConnectionWrapper. getNamespace(String prefix)protected abstract StringAbstractSailConnection. getNamespaceInternal(String prefix)org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>AbstractSailConnection. getNamespaces()org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>SailConnectionWrapper. getNamespaces()protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Namespace,SailException>AbstractSailConnection. getNamespacesInternal()protected LockAbstractSailConnection. getSharedConnectionLock()Deprecated, for removal: This API element is subject to removal in a future version.org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>AbstractSailConnection. 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)org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>SailConnectionWrapper. 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)protected abstract org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,SailException>AbstractSailConnection. getStatementsInternal(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)protected LockAbstractSailConnection. getTransactionLock()Deprecated, for removal: This API element is subject to removal in a future version.booleanAbstractSailConnection. 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)booleanSailConnectionWrapper. 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)voidAbstractSail. init()voidSailWrapper. init()protected voidAbstractSail. initializeInternal()Do store-specific operations to initialize the store.booleanAbstractSailConnection. isOpen()booleanSailConnectionWrapper. isOpen()booleanSailWrapper. isWritable()voidAbstractSailConnection. prepare()voidSailConnectionWrapper. prepare()protected voidAbstractSailConnection. prepareInternal()voidAbstractSailConnection. removeNamespace(String prefix)voidSailConnectionWrapper. removeNamespace(String prefix)protected abstract voidAbstractSailConnection. removeNamespaceInternal(String prefix)voidAbstractSailConnection. removeStatement(UpdateContext op, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)The default implementation buffers removed statements until the update operation is complete.voidSailConnectionWrapper. 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)voidAbstractSailConnection. 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)voidSailConnectionWrapper. 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)protected abstract voidAbstractSailConnection. 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)voidAbstractSailConnection. rollback()voidSailConnectionWrapper. rollback()protected abstract voidAbstractSailConnection. rollbackInternal()voidAbstractSailConnection. setNamespace(String prefix, String name)voidSailConnectionWrapper. setNamespace(String prefix, String name)protected abstract voidAbstractSailConnection. setNamespaceInternal(String prefix, String name)voidAbstractSail. shutDown()voidSailWrapper. shutDown()protected abstract voidAbstractSail. shutDownInternal()Do store-specific operations to ensure proper shutdown of the store.longAbstractSailConnection. size(org.eclipse.rdf4j.model.Resource... contexts)longSailConnectionWrapper. size(org.eclipse.rdf4j.model.Resource context)longSailConnectionWrapper. size(org.eclipse.rdf4j.model.Resource... contexts)protected abstract longAbstractSailConnection. sizeInternal(org.eclipse.rdf4j.model.Resource... contexts)protected abstract voidAbstractSailConnection. startTransactionInternal()voidAbstractSailConnection. startUpdate(UpdateContext op)voidSailConnectionWrapper. startUpdate(UpdateContext modify)protected voidAbstractSailConnection. verifyIsActive()Verifies if a transaction is currently active.protected voidAbstractSailConnection. verifyIsOpen()
-