Uses of Class
org.eclipse.rdf4j.repository.RepositoryException
-
Packages that use RepositoryException Package Description org.eclipse.rdf4j.http.client org.eclipse.rdf4j.http.protocol org.eclipse.rdf4j.http.protocol.transaction.operations org.eclipse.rdf4j.repository The Repository API: the main API for accessing rdf databases and SPARQL endpoints.org.eclipse.rdf4j.repository.base Abstract base classes and wrappers for the main Repository API interfaces.org.eclipse.rdf4j.repository.config Repository configuration interfaces.org.eclipse.rdf4j.repository.contextaware A repository wrapper with convenience functions for handling contexts.org.eclipse.rdf4j.repository.dataset A repository wrapper which supports auto-loading of datasets specified in a query.org.eclipse.rdf4j.repository.event Interfaces for notification/interception of events happening on Repositories and RepositoryConnectionsorg.eclipse.rdf4j.repository.event.base Wrapper/adapter base implementations.org.eclipse.rdf4j.repository.http A repository that serves as a proxy client for a remote repository on an RDF4J Server.org.eclipse.rdf4j.repository.manager Functionality for Repository lifecycle management and sharing.org.eclipse.rdf4j.repository.manager.util org.eclipse.rdf4j.repository.sail Repository implementation for local RDF databases that implement the SAIL SPI.org.eclipse.rdf4j.repository.sail.config org.eclipse.rdf4j.repository.sparql ARepository
that serves as a SPARQL endpoint client.org.eclipse.rdf4j.repository.sparql.federation org.eclipse.rdf4j.repository.util Helper classes for working with Repositories. -
-
Uses of RepositoryException in org.eclipse.rdf4j.http.client
Methods in org.eclipse.rdf4j.http.client that throw RepositoryException Modifier and Type Method Description void
RDF4JProtocolSession. addData(java.io.InputStream contents, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
RDF4JProtocolSession. clearNamespaces()
void
RDF4JProtocolSession. createRepository(RepositoryConfig config)
Create a new repository.void
RDF4JProtocolSession. deleteRepository(java.lang.String repositoryID)
protected TupleQueryResult
SPARQLProtocolSession. getBackgroundTupleQueryResult(org.apache.http.client.methods.HttpUriRequest method, java.lang.ref.WeakReference<?> callerRef)
Deprecated.WeakReference> callerRef argument will be removedTupleQueryResult
RDF4JProtocolSession. getContextIDs()
void
RDF4JProtocolSession. getContextIDs(TupleQueryResultHandler handler)
protected ErrorInfo
SPARQLProtocolSession. getErrorInfo(org.apache.http.HttpResponse response)
java.lang.String
RDF4JProtocolSession. getNamespace(java.lang.String prefix)
TupleQueryResult
RDF4JProtocolSession. getNamespaces()
void
RDF4JProtocolSession. getNamespaces(TupleQueryResultHandler handler)
protected void
SPARQLProtocolSession. getRDF(org.apache.http.client.methods.HttpUriRequest method, RDFHandler handler, boolean requireContext)
Parse the response in this thread using the providedRDFHandler
.protected GraphQueryResult
SPARQLProtocolSession. getRDFBackground(org.apache.http.client.methods.HttpUriRequest method, boolean requireContext, java.lang.ref.WeakReference<?> callerRef)
Deprecated.WeakReference> callerRef argument will be removedvoid
RDF4JProtocolSession. getRepositoryConfig(StatementCollector statementCollector)
Retrieve configuration of the current repository and send it to the suppliedStatementCollector
TupleQueryResult
RDF4JProtocolSession. getRepositoryList()
void
RDF4JProtocolSession. getRepositoryList(TupleQueryResultHandler handler)
java.lang.String
RDF4JProtocolSession. getServerProtocol()
void
RDF4JProtocolSession. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
protected void
SPARQLProtocolSession. getTupleQueryResult(org.apache.http.client.methods.HttpUriRequest method, TupleQueryResultHandler handler)
Parse the response in this thread using the providedTupleQueryResultHandler
.void
RDF4JProtocolSession. removeData(java.io.InputStream contents, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
RDF4JProtocolSession. removeNamespacePrefix(java.lang.String prefix)
boolean
SPARQLProtocolSession. sendBooleanQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, Binding... bindings)
boolean
SPARQLProtocolSession. sendBooleanQuery(QueryLanguage ql, java.lang.String query, Dataset dataset, boolean includeInferred, Binding... bindings)
GraphQueryResult
SPARQLProtocolSession. sendGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, java.lang.ref.WeakReference<?> callerRef, Binding... bindings)
Deprecated.WeakReference> callerRef argument will be removedvoid
SPARQLProtocolSession. sendGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, RDFHandler handler, Binding... bindings)
GraphQueryResult
SPARQLProtocolSession. sendGraphQuery(QueryLanguage ql, java.lang.String query, Dataset dataset, boolean includeInferred, java.lang.ref.WeakReference<?> callerRef, Binding... bindings)
Deprecated.WeakReference> callerRef argument will be removedvoid
SPARQLProtocolSession. sendGraphQuery(QueryLanguage ql, java.lang.String query, Dataset dataset, boolean includeInferred, RDFHandler handler, Binding... bindings)
private org.apache.http.HttpResponse
SPARQLProtocolSession. sendGraphQueryViaHttp(org.apache.http.client.methods.HttpUriRequest method, boolean requireContext, java.util.Set<RDFFormat> rdfFormats)
void
RDF4JProtocolSession. sendTransaction(java.lang.Iterable<? extends TransactionOperation> txn)
Deprecated.since 2.8.0TupleQueryResult
SPARQLProtocolSession. sendTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, java.lang.ref.WeakReference<?> callerRef, Binding... bindings)
Deprecated.WeakReference> callerRef argument will be removedvoid
SPARQLProtocolSession. sendTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, TupleQueryResultHandler handler, Binding... bindings)
TupleQueryResult
SPARQLProtocolSession. sendTupleQuery(QueryLanguage ql, java.lang.String query, Dataset dataset, boolean includeInferred, java.lang.ref.WeakReference<?> callerRef, Binding... bindings)
Deprecated.WeakReference> callerRef argument will be removedprivate org.apache.http.HttpResponse
SPARQLProtocolSession. sendTupleQueryViaHttp(org.apache.http.client.methods.HttpUriRequest method, java.util.Set<QueryResultFormat> tqrFormats)
Send the tuple query via HTTP and throws an exception in case anything goes wrong, i.e.void
SPARQLProtocolSession. sendUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, Binding... bindings)
void
SPARQLProtocolSession. sendUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI, Dataset dataset, boolean includeInferred, Binding... bindings)
void
RDF4JProtocolSession. setNamespacePrefix(java.lang.String prefix, java.lang.String name)
long
RDF4JProtocolSession. size(Resource... contexts)
void
RDF4JProtocolSession. updateRepository(RepositoryConfig config)
Update the config of an existing repository.protected void
RDF4JProtocolSession. upload(java.io.InputStream contents, java.lang.String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts)
void
RDF4JProtocolSession. upload(java.io.InputStream contents, java.lang.String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Resource... contexts)
protected void
RDF4JProtocolSession. upload(java.io.Reader contents, java.lang.String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts)
void
RDF4JProtocolSession. upload(java.io.Reader contents, java.lang.String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Resource... contexts)
protected void
RDF4JProtocolSession. upload(org.apache.http.HttpEntity reqEntity, java.lang.String baseURI, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts)
-
Uses of RepositoryException in org.eclipse.rdf4j.http.protocol
Subclasses of RepositoryException in org.eclipse.rdf4j.http.protocol Modifier and Type Class Description class
UnauthorizedException
-
Uses of RepositoryException in org.eclipse.rdf4j.http.protocol.transaction.operations
Methods in org.eclipse.rdf4j.http.protocol.transaction.operations that throw RepositoryException Modifier and Type Method Description void
AddStatementOperation. execute(RepositoryConnection con)
void
ClearNamespacesOperation. execute(RepositoryConnection con)
void
ClearOperation. execute(RepositoryConnection con)
void
RemoveNamespaceOperation. execute(RepositoryConnection con)
void
RemoveStatementsOperation. execute(RepositoryConnection con)
void
SetNamespaceOperation. execute(RepositoryConnection con)
void
SPARQLUpdateOperation. execute(RepositoryConnection con)
void
TransactionOperation. execute(RepositoryConnection con)
Executes this operation on the supplied connection. -
Uses of RepositoryException in org.eclipse.rdf4j.repository
Subclasses of RepositoryException in org.eclipse.rdf4j.repository Modifier and Type Class Description class
RepositoryLockedException
Indicates that a Repository cannot be initialised because the configured persisted location is locked.class
RepositoryReadOnlyException
Indicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read from.class
UnknownTransactionStateException
A specific subtype ofRepositoryException
that indicates the connection's transaction state can not be determined.Fields in org.eclipse.rdf4j.repository with type parameters of type RepositoryException Modifier and Type Field Description private CloseableIteration<? extends T,RepositoryException>
RepositoryResult. wrappedIter
Methods in org.eclipse.rdf4j.repository that throw RepositoryException Modifier and Type Method Description void
RepositoryConnection. add(java.io.File file, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the repository.default void
RepositoryConnection. add(java.io.File file, Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the repository.default void
RepositoryConnection. add(java.io.File file, RDFFormat dataFormat, Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the repository.void
RepositoryConnection. add(java.io.InputStream in, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.default void
RepositoryConnection. add(java.io.InputStream in, RDFFormat dataFormat, Resource... contexts)
Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.void
RepositoryConnection. add(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.default void
RepositoryConnection. add(java.io.Reader reader, RDFFormat dataFormat, Resource... contexts)
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.void
RepositoryConnection. add(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.void
RepositoryConnection. add(java.net.URL url, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default void
RepositoryConnection. add(java.net.URL url, Resource... contexts)
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default void
RepositoryConnection. add(java.net.URL url, RDFFormat dataFormat, Resource... contexts)
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default <E extends java.lang.Exception>
voidRepositoryConnection. add(CloseableIteration<? extends Statement,E> statements, Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.<E extends java.lang.Exception>
voidRepositoryConnection. add(Iteration<? extends Statement,E> statements, Resource... contexts)
Deprecated, for removal: This API element is subject to removal in a future version.void
RepositoryConnection. add(Resource subject, IRI predicate, Value object, Resource... contexts)
Adds a statement with the specified subject, predicate and object to this repository, optionally to one or more named contexts.void
RepositoryConnection. add(Statement st, Resource... contexts)
Adds the supplied statement to this repository, optionally to one or more named contexts.default void
RepositoryConnection. add(RepositoryResult<Statement> statements, Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.<C extends java.util.Collection<T>>
CRepositoryResult. addTo(C collection)
Deprecated.UseIterations.addAll(Iteration, Collection)
instead.java.util.List<T>
RepositoryResult. asList()
Deprecated.UseIterations.asList(Iteration)
instead.void
RepositoryConnection. begin()
Begins a new transaction, requiringRepositoryConnection.commit()
orRepositoryConnection.rollback()
to be called to end the transaction.void
RepositoryConnection. begin(IsolationLevel level)
Begins a new transaction with the suppliedIsolationLevel
, requiringRepositoryConnection.commit()
orRepositoryConnection.rollback()
to be called to end the transaction.void
RepositoryConnection. clear(Resource... contexts)
Removes all statements from a specific contexts in the repository.void
RepositoryConnection. clearNamespaces()
Removes all namespace declarations from the repository.default void
RepositoryConnection. close()
Closes the connection, freeing resources.void
RepositoryConnection. commit()
Commits the active transaction.void
RepositoryResult. enableDuplicateFilter()
Switches on duplicate filtering while iterating over objects.void
RepositoryConnection. export(RDFHandler handler, Resource... contexts)
Exports all explicit statements in the specified contexts to the supplied RDFHandler.void
RepositoryConnection. exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
Exports all statements with a specific subject, predicate and/or object from the repository, optionally from the specified contexts.RepositoryConnection
Repository. getConnection()
Opens a connection to this repository that can be used for querying and updating the contents of the repository.RepositoryResult<Resource>
RepositoryConnection. getContextIDs()
Gets all resources that are used as content identifiers.RepositoryConnection
DelegatingRepositoryConnection. getDelegate()
java.lang.String
RepositoryConnection. getNamespace(java.lang.String prefix)
Gets the namespace that is associated with the specified prefix, if any.RepositoryResult<Namespace>
RepositoryConnection. getNamespaces()
Gets all declared namespaces as a RepositoryResult ofNamespace
objects.Repository
RepositoryResolver. getRepository(java.lang.String memberID)
RepositoryResult<Statement>
RepositoryConnection. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from the repository.default RepositoryResult<Statement>
RepositoryConnection. getStatements(Resource subj, IRI pred, Value obj, Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from the repository.protected void
RepositoryResult. handleClose()
boolean
RepositoryResult. hasNext()
boolean
RepositoryConnection. hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
Checks whether the repository contains statements with a specific subject, predicate and/or object, optionally in the specified contexts.boolean
RepositoryConnection. hasStatement(Statement st, boolean includeInferred, Resource... contexts)
Checks whether the repository contains the specified statement, optionally in the specified contexts.void
Repository. init()
Initializes this repository.boolean
RepositoryConnection. isActive()
Indicates if a transaction is currently active on the connection.boolean
RepositoryConnection. isAutoCommit()
Deprecated.UseRepositoryConnection.isActive()
instead.boolean
RepositoryConnection. isEmpty()
Returns true if this repository does not contain any (explicit) statements.boolean
RepositoryConnection. isOpen()
Checks whether this connection is open.boolean
Repository. isWritable()
Checks whether this repository is writable, i.e.T
RepositoryResult. next()
default void
RepositoryConnection. prepare()
Checks for an error state in the active transaction that would force the transaction to be rolled back.default BooleanQuery
RepositoryConnection. prepareBooleanQuery(java.lang.String query)
Prepares SPARQL queries that return true or false, that is, SPARQL ASK queries.BooleanQuery
RepositoryConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query)
Prepares queries that return true or false.BooleanQuery
RepositoryConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Prepares queries that return true or false.default GraphQuery
RepositoryConnection. prepareGraphQuery(java.lang.String query)
Prepares SPARQL queries that produce RDF graphs, that is, SPARQL CONSTRUCT or DESCRIBE queries.GraphQuery
RepositoryConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query)
Prepares queries that produce RDF graphs.GraphQuery
RepositoryConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Prepares queries that produce RDF graphs.default Query
RepositoryConnection. prepareQuery(java.lang.String query)
Prepares a SPARQL query for evaluation on this repository (optional operation).Query
RepositoryConnection. prepareQuery(QueryLanguage ql, java.lang.String query)
Prepares a query for evaluation on this repository (optional operation).Query
RepositoryConnection. prepareQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Prepares a query for evaluation on this repository (optional operation).default TupleQuery
RepositoryConnection. prepareTupleQuery(java.lang.String query)
Prepares a SPARQL query that produces sets of value tuples, that is a SPARQL SELECT query.TupleQuery
RepositoryConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query)
Prepares a query that produces sets of value tuples.TupleQuery
RepositoryConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Prepares a query that produces sets of value tuples.default Update
RepositoryConnection. prepareUpdate(java.lang.String update)
Prepares a SPARQL Update operation.Update
RepositoryConnection. prepareUpdate(QueryLanguage ql, java.lang.String update)
Prepares an Update operation.Update
RepositoryConnection. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
Prepares an Update operation.void
RepositoryConnection. remove(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
Removes the supplied statements from the specified contexts in this repository.default <E extends java.lang.Exception>
voidRepositoryConnection. remove(CloseableIteration<? extends Statement,E> statements, Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.<E extends java.lang.Exception>
voidRepositoryConnection. remove(Iteration<? extends Statement,E> statements, Resource... contexts)
Deprecated, for removal: This API element is subject to removal in a future version.void
RepositoryConnection. remove(Resource subject, IRI predicate, Value object, Resource... contexts)
Removes the statement(s) with the specified subject, predicate and object from the repository, optionally restricted to the specified contexts.void
RepositoryConnection. remove(Statement st, Resource... contexts)
Removes the supplied statement from the specified contexts in the repository.default void
RepositoryConnection. remove(RepositoryResult<Statement> statements, Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.void
RepositoryResult. remove()
void
RepositoryConnection. removeNamespace(java.lang.String prefix)
Removes a namespace declaration by removing the association between a prefix and a namespace name.void
RepositoryConnection. rollback()
Rolls back all updates in the active transaction.void
RepositoryConnection. setAutoCommit(boolean autoCommit)
Deprecated.UseRepositoryConnection.begin()
instead.void
RepositoryConnection. setNamespace(java.lang.String prefix, java.lang.String name)
Sets the prefix for a namespace.void
Repository. shutDown()
Shuts the repository down, releasing any resources that it keeps hold of.long
RepositoryConnection. size(Resource... contexts)
Returns the number of (explicit) statements that are in the specified contexts in this repository.Constructor parameters in org.eclipse.rdf4j.repository with type arguments of type RepositoryException Constructor Description RepositoryResult(CloseableIteration<? extends T,RepositoryException> iter)
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.base
Methods in org.eclipse.rdf4j.repository.base that throw RepositoryException Modifier and Type Method Description void
AbstractRepositoryConnection. add(java.io.File file, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
AbstractRepositoryConnection. add(java.io.InputStream in, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
AbstractRepositoryConnection. add(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
AbstractRepositoryConnection. add(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
void
AbstractRepositoryConnection. add(java.net.URL url, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
<E extends java.lang.Exception>
voidAbstractRepositoryConnection. add(Iteration<? extends Statement,E> statements, Resource... contexts)
void
AbstractRepositoryConnection. add(Resource subject, IRI predicate, Value object, Resource... contexts)
void
AbstractRepositoryConnection. add(Statement st, Resource... contexts)
void
RepositoryConnectionWrapper. add(java.io.File file, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
RepositoryConnectionWrapper. add(java.io.InputStream in, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
RepositoryConnectionWrapper. add(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
RepositoryConnectionWrapper. add(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
void
RepositoryConnectionWrapper. add(java.net.URL url, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
<E extends java.lang.Exception>
voidRepositoryConnectionWrapper. add(Iteration<? extends Statement,E> statementIter, Resource... contexts)
void
RepositoryConnectionWrapper. add(Resource subject, IRI predicate, Value object, Resource... contexts)
void
RepositoryConnectionWrapper. add(Statement st, Resource... contexts)
protected abstract void
AbstractRepositoryConnection. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
protected void
AbstractRepositoryConnection. addWithoutCommit(Statement st, Resource... contexts)
protected void
RepositoryConnectionWrapper. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
AbstractRepositoryConnection. begin(IsolationLevel level)
void
RepositoryConnectionWrapper. begin()
void
RepositoryConnectionWrapper. begin(IsolationLevel level)
void
AbstractRepositoryConnection. clear(Resource... contexts)
void
RepositoryConnectionWrapper. clear(Resource... contexts)
void
RepositoryConnectionWrapper. clearNamespaces()
void
AbstractRepositoryConnection. close()
void
RepositoryConnectionWrapper. close()
void
RepositoryConnectionWrapper. commit()
protected void
AbstractRepositoryConnection. conditionalCommit(boolean condition)
InvokesRepositoryConnection.commit()
if supplied boolean condition istrue
.protected void
AbstractRepositoryConnection. conditionalRollback(boolean condition)
InvokesRepositoryConnection.rollback()
if supplied boolean condition istrue
.void
AbstractRepositoryConnection. export(RDFHandler handler, Resource... contexts)
void
RepositoryConnectionWrapper. exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
protected void
RepositoryConnectionWrapper. exportStatements(RepositoryResult<Statement> stIter, RDFHandler handler)
Exports all statements contained in the supplied statement iterator and all relevant namespace information to the supplied RDFHandler.RepositoryConnection
RepositoryWrapper. getConnection()
RepositoryResult<Resource>
RepositoryConnectionWrapper. getContextIDs()
abstract java.lang.String
AbstractRepositoryConnection. getNamespace(java.lang.String prefix)
java.lang.String
RepositoryConnectionWrapper. getNamespace(java.lang.String prefix)
RepositoryResult<Namespace>
RepositoryConnectionWrapper. getNamespaces()
RepositoryResult<Statement>
RepositoryConnectionWrapper. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
boolean
AbstractRepositoryConnection. hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
boolean
AbstractRepositoryConnection. hasStatement(Statement st, boolean includeInferred, Resource... contexts)
boolean
RepositoryConnectionWrapper. hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
boolean
RepositoryConnectionWrapper. hasStatement(Statement st, boolean includeInferred, Resource... contexts)
void
AbstractRepository. init()
void
RepositoryWrapper. init()
protected abstract void
AbstractRepository. initializeInternal()
boolean
RepositoryConnectionWrapper. isActive()
boolean
AbstractRepositoryConnection. isAutoCommit()
Deprecated.UseRepositoryConnection.isActive()
instead.boolean
RepositoryConnectionWrapper. isAutoCommit()
Deprecated.UseRepositoryConnectionWrapper.isActive()
instead.protected boolean
RepositoryConnectionWrapper. isDelegatingAdd()
If false then the following add methods will callRepositoryConnectionWrapper.addWithoutCommit(Resource, IRI, Value, Resource[])
.protected boolean
RepositoryConnectionWrapper. isDelegatingRead()
If false then the following has/export/isEmpty methods will callRepositoryConnectionWrapper.getStatements(Resource, IRI, Value, boolean, Resource[])
.protected boolean
RepositoryConnectionWrapper. isDelegatingRemove()
If false then the following remove methods will callRepositoryConnectionWrapper.removeWithoutCommit(Resource, IRI, Value, Resource[])
.boolean
AbstractRepositoryConnection. isEmpty()
boolean
RepositoryConnectionWrapper. isEmpty()
boolean
AbstractRepositoryConnection. isOpen()
boolean
RepositoryConnectionWrapper. isOpen()
boolean
RepositoryWrapper. isWritable()
void
RepositoryConnectionWrapper. prepare()
BooleanQuery
AbstractRepositoryConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query)
BooleanQuery
RepositoryConnectionWrapper. prepareBooleanQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
GraphQuery
AbstractRepositoryConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query)
GraphQuery
RepositoryConnectionWrapper. prepareGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Query
AbstractRepositoryConnection. prepareQuery(QueryLanguage ql, java.lang.String query)
Query
RepositoryConnectionWrapper. prepareQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
TupleQuery
AbstractRepositoryConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query)
TupleQuery
RepositoryConnectionWrapper. prepareTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Update
AbstractRepositoryConnection. prepareUpdate(QueryLanguage ql, java.lang.String update)
Update
RepositoryConnectionWrapper. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
void
AbstractRepositoryConnection. remove(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
<E extends java.lang.Exception>
voidAbstractRepositoryConnection. remove(Iteration<? extends Statement,E> statements, Resource... contexts)
void
AbstractRepositoryConnection. remove(Resource subject, IRI predicate, Value object, Resource... contexts)
void
AbstractRepositoryConnection. remove(Statement st, Resource... contexts)
void
RepositoryConnectionWrapper. remove(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
<E extends java.lang.Exception>
voidRepositoryConnectionWrapper. remove(Iteration<? extends Statement,E> statementIter, Resource... contexts)
void
RepositoryConnectionWrapper. remove(Resource subject, IRI predicate, Value object, Resource... contexts)
void
RepositoryConnectionWrapper. remove(Statement st, Resource... contexts)
void
RepositoryConnectionWrapper. removeNamespace(java.lang.String prefix)
protected abstract void
AbstractRepositoryConnection. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
protected void
AbstractRepositoryConnection. removeWithoutCommit(Statement st, Resource... contexts)
protected void
RepositoryConnectionWrapper. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
RepositoryConnectionWrapper. rollback()
void
AbstractRepositoryConnection. setAutoCommit(boolean autoCommit)
Deprecated.UseRepositoryConnection.begin()
instead.void
RepositoryConnectionWrapper. setAutoCommit(boolean autoCommit)
Deprecated.useRepositoryConnectionWrapper.begin()
instead.abstract void
AbstractRepositoryConnection. setNamespace(java.lang.String prefix, java.lang.String name)
void
RepositoryConnectionWrapper. setNamespace(java.lang.String prefix, java.lang.String name)
void
AbstractRepository. shutDown()
void
RepositoryWrapper. shutDown()
protected abstract void
AbstractRepository. shutDownInternal()
long
RepositoryConnectionWrapper. size(Resource... contexts)
protected boolean
AbstractRepositoryConnection. startLocalTransaction()
Starts a new transaction if one is not already active. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.config
Methods in org.eclipse.rdf4j.repository.config that throw RepositoryException Modifier and Type Method Description static Resource
RepositoryConfigUtil. getContext(RepositoryConnection con, java.lang.String repositoryID)
Deprecated.private static Statement
RepositoryConfigUtil. getIDStatement(RepositoryConnection con, java.lang.String repositoryID)
static RepositoryConfig
RepositoryConfigUtil. getRepositoryConfig(Repository repository, java.lang.String repositoryID)
Deprecated.static java.util.Set<java.lang.String>
RepositoryConfigUtil. getRepositoryIDs(Model model)
static java.util.Set<java.lang.String>
RepositoryConfigUtil. getRepositoryIDs(Repository repository)
Deprecated.static boolean
RepositoryConfigUtil. hasRepositoryConfig(Repository repository, java.lang.String repositoryID)
Deprecated.static boolean
RepositoryConfigUtil. removeRepositoryConfigs(Repository repository, java.lang.String... repositoryIDs)
Deprecated.static void
RepositoryConfigUtil. updateRepositoryConfigs(RepositoryConnection con, RepositoryConfig... configs)
Deprecated.static void
RepositoryConfigUtil. updateRepositoryConfigs(Repository repository, RepositoryConfig... configs)
Deprecated. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.contextaware
Methods in org.eclipse.rdf4j.repository.contextaware that throw RepositoryException Modifier and Type Method Description void
ContextAwareConnection. add(java.io.File file, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.io.File file, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.io.InputStream in, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.io.InputStream in, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.io.Reader reader, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
void
ContextAwareConnection. add(java.net.URL url, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
ContextAwareConnection. add(java.net.URL url, RDFFormat dataFormat, Resource... contexts)
<E extends java.lang.Exception>
voidContextAwareConnection. add(Iteration<? extends Statement,E> statementIter, Resource... contexts)
void
ContextAwareConnection. add(Resource subject, IRI predicate, Value object, Resource... contexts)
void
ContextAwareConnection. add(Statement st, Resource... contexts)
void
ContextAwareConnection. clear(Resource... contexts)
void
ContextAwareConnection. export(RDFHandler handler, Resource... contexts)
void
ContextAwareConnection. exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
void
ContextAwareConnection. exportStatements(Resource subj, IRI pred, Value obj, RDFHandler handler, Resource... contexts)
Exports all statements with a specific subject, predicate and/or object from the repository, optionally from the specified contexts.ContextAwareConnection
ContextAwareRepository. getConnection()
RepositoryResult<Statement>
ContextAwareConnection. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
RepositoryResult<Statement>
ContextAwareConnection. getStatements(Resource subj, IRI pred, Value obj, Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from the repository.boolean
ContextAwareConnection. hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
boolean
ContextAwareConnection. hasStatement(Resource subj, IRI pred, Value obj, Resource... contexts)
Checks whether the repository contains statements with a specific subject, predicate and/or object, optionally in the specified contexts.boolean
ContextAwareConnection. hasStatement(Statement st, boolean includeInferred, Resource... contexts)
boolean
ContextAwareConnection. hasStatement(Statement st, Resource... contexts)
Checks whether the repository contains the specified statement, optionally in the specified contexts.protected boolean
ContextAwareConnection. isDelegatingRemove()
BooleanQuery
ContextAwareConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query)
BooleanQuery
ContextAwareConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
GraphQuery
ContextAwareConnection. prepareGraphQuery(java.lang.String query)
GraphQuery
ContextAwareConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query)
GraphQuery
ContextAwareConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Query
ContextAwareConnection. prepareQuery(java.lang.String query)
Query
ContextAwareConnection. prepareQuery(QueryLanguage ql, java.lang.String query)
Query
ContextAwareConnection. prepareQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
TupleQuery
ContextAwareConnection. prepareTupleQuery(java.lang.String query)
TupleQuery
ContextAwareConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query)
TupleQuery
ContextAwareConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Update
ContextAwareConnection. prepareUpdate(java.lang.String query)
Update
ContextAwareConnection. prepareUpdate(QueryLanguage ql, java.lang.String query)
Update
ContextAwareConnection. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
void
ContextAwareConnection. remove(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
<E extends java.lang.Exception>
voidContextAwareConnection. remove(Iteration<? extends Statement,E> statementIter, Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.void
ContextAwareConnection. remove(Resource subject, IRI predicate, Value object, Resource... contexts)
Removes the statement with the specified subject, predicate and object from the repository, optionally restricted to the specified contexts.void
ContextAwareConnection. remove(Statement st, Resource... contexts)
Removes the supplied statement from the specified contexts in the repository.protected void
ContextAwareConnection. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
long
ContextAwareConnection. size(Resource... contexts)
Returns the number of (explicit) statements that are in the specified contexts in this repository.Constructors in org.eclipse.rdf4j.repository.contextaware that throw RepositoryException Constructor Description ContextAwareConnection(Repository repository)
ContextAwareConnection(RepositoryConnection connection)
ContextAwareConnection(Repository repository, RepositoryConnection connection)
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.dataset
Methods in org.eclipse.rdf4j.repository.dataset that throw RepositoryException Modifier and Type Method Description RepositoryConnection
DatasetRepository. getConnection()
private void
DatasetRepository. load(java.net.URL url, java.net.URLConnection urlCon, IRI context, ParserConfig config)
void
DatasetRepository. loadDataset(java.net.URL url, IRI context, ParserConfig config)
Inspects if the dataset at the supplied URL location has been modified since the last load into this repository and if so loads it into the supplied context.BooleanQuery
DatasetRepositoryConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
GraphQuery
DatasetRepositoryConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
Query
DatasetRepositoryConnection. prepareQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
TupleQuery
DatasetRepositoryConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String baseURI)
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.event
Methods in org.eclipse.rdf4j.repository.event that throw RepositoryException Modifier and Type Method Description NotifyingRepositoryConnection
NotifyingRepository. getConnection()
Opens a connection to this repository that can be used for querying and updating the contents of the repository. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.event.base
Methods in org.eclipse.rdf4j.repository.event.base that throw RepositoryException Modifier and Type Method Description void
InterceptingRepositoryConnectionWrapper. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
NotifyingRepositoryConnectionWrapper. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
InterceptingRepositoryConnectionWrapper. begin()
void
NotifyingRepositoryConnectionWrapper. begin()
void
InterceptingRepositoryConnectionWrapper. clear(Resource... contexts)
void
NotifyingRepositoryConnectionWrapper. clear(Resource... contexts)
void
InterceptingRepositoryConnectionWrapper. clearNamespaces()
void
NotifyingRepositoryConnectionWrapper. clearNamespaces()
void
InterceptingRepositoryConnectionWrapper. close()
void
NotifyingRepositoryConnectionWrapper. close()
void
InterceptingRepositoryConnectionWrapper. commit()
void
NotifyingRepositoryConnectionWrapper. commit()
InterceptingRepositoryConnection
InterceptingRepositoryWrapper. getConnection()
NotifyingRepositoryConnection
NotifyingRepositoryWrapper. getConnection()
void
InterceptingRepositoryWrapper. init()
void
NotifyingRepositoryWrapper. init()
Update
InterceptingRepositoryConnectionWrapper. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
Update
NotifyingRepositoryConnectionWrapper. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
void
InterceptingRepositoryConnectionWrapper. removeNamespace(java.lang.String prefix)
void
NotifyingRepositoryConnectionWrapper. removeNamespace(java.lang.String prefix)
void
InterceptingRepositoryConnectionWrapper. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
NotifyingRepositoryConnectionWrapper. removeWithoutCommit(Resource subj, IRI pred, Value obj, Resource... ctx)
void
InterceptingRepositoryConnectionWrapper. rollback()
void
NotifyingRepositoryConnectionWrapper. rollback()
void
InterceptingRepositoryConnectionWrapper. setAutoCommit(boolean autoCommit)
Deprecated.void
NotifyingRepositoryConnectionWrapper. setAutoCommit(boolean autoCommit)
Deprecated.void
InterceptingRepositoryConnectionWrapper. setNamespace(java.lang.String prefix, java.lang.String name)
void
NotifyingRepositoryConnectionWrapper. setNamespace(java.lang.String prefix, java.lang.String name)
void
InterceptingRepositoryWrapper. shutDown()
void
NotifyingRepositoryWrapper. shutDown()
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.http
Methods in org.eclipse.rdf4j.repository.http that return RepositoryException Modifier and Type Method Description RepositoryException
HTTPQueryEvaluationException. getCauseAsRepositoryException()
RepositoryException
HTTPUpdateExecutionException. getCauseAsRepositoryException()
Methods in org.eclipse.rdf4j.repository.http that throw RepositoryException Modifier and Type Method Description void
HTTPRepositoryConnection. add(java.io.File file, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
HTTPRepositoryConnection. add(java.io.InputStream in, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
HTTPRepositoryConnection. add(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
HTTPRepositoryConnection. add(java.net.URL url, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
HTTPRepositoryConnection. add(Resource subject, IRI predicate, Value object, Resource... contexts)
void
HTTPRepositoryConnection. add(Statement st, Resource... contexts)
private void
HTTPRepositoryConnection. addModel(Model m)
protected void
HTTPRepositoryConnection. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
HTTPRepositoryConnection. begin()
void
HTTPRepositoryConnection. clear(Resource... contexts)
void
HTTPRepositoryConnection. clearNamespaces()
void
HTTPRepositoryConnection. close()
void
HTTPRepositoryConnection. commit()
void
HTTPRepositoryConnection. exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
protected void
HTTPRepositoryConnection. flushTransactionState(Protocol.Action action)
RepositoryConnection
HTTPRepository. getConnection()
RepositoryResult<Resource>
HTTPRepositoryConnection. getContextIDs()
java.lang.String
HTTPRepositoryConnection. getNamespace(java.lang.String prefix)
RepositoryResult<Namespace>
HTTPRepositoryConnection. getNamespaces()
RepositoryResult<Statement>
HTTPRepositoryConnection. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
protected void
HTTPRepository. initializeInternal()
boolean
HTTPRepositoryConnection. isActive()
boolean
HTTPRepository. isWritable()
void
HTTPRepositoryConnection. prepare()
Update
HTTPRepositoryConnection. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
private void
HTTPRepositoryConnection. removeModel(Model m)
void
HTTPRepositoryConnection. removeNamespace(java.lang.String prefix)
protected void
HTTPRepositoryConnection. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
HTTPRepositoryConnection. rollback()
void
HTTPRepositoryConnection. setNamespace(java.lang.String prefix, java.lang.String name)
protected void
HTTPRepository. shutDownInternal()
long
HTTPRepositoryConnection. size(Resource... contexts)
(package private) boolean
HTTPRepository. useCompatibleMode()
Verify if transaction handling should be done in backward-compatible mode (this is the case when communicating with an older RDF4J Server).protected void
HTTPRepositoryConnection. verifyIsOpen()
Verifies that the connection is open, throws aStoreException
if it isn't.protected void
HTTPRepositoryConnection. verifyNotTxnActive(java.lang.String msg)
Verifies that the connection does not have an active transaction, throws aRepositoryException
if it has.protected void
HTTPRepositoryConnection. verifyTxnActive()
Verifies that the connection has an active transaction, throws aStoreException
if it hasn't. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.manager
Methods in org.eclipse.rdf4j.repository.manager that throw RepositoryException Modifier and Type Method Description void
LocalRepositoryManager. addRepositoryConfig(RepositoryConfig config)
void
RemoteRepositoryManager. addRepositoryConfig(RepositoryConfig config)
abstract void
RepositoryManager. addRepositoryConfig(RepositoryConfig config)
Adds or updates the configuration of a repository to the manager.protected Repository
LocalRepositoryManager. createRepository(java.lang.String id)
protected Repository
RemoteRepositoryManager. createRepository(java.lang.String id)
Creates and initializes the repository with the specified ID.protected abstract Repository
RepositoryManager. createRepository(java.lang.String id)
Creates and initializes the repository with the specified ID.RepositoryManager
RepositoryProvider.SynchronizedManager. get()
java.util.Collection<Repository>
RepositoryManager. getAllRepositories()
Returns all configured repositories.java.util.List<RepositoryInfo>
LocalRepositoryManager. getAllRepositoryInfos()
java.util.Collection<RepositoryInfo>
RemoteRepositoryManager. getAllRepositoryInfos()
abstract java.util.Collection<RepositoryInfo>
RepositoryManager. getAllRepositoryInfos()
Retrieve meta information of all configured repositories.java.util.Collection<RepositoryInfo>
RepositoryManager. getAllRepositoryInfos(boolean skipSystemRepo)
Deprecated.UseRepositoryManager.getAllRepositoryInfos()
instead.java.util.Collection<RepositoryInfo>
RepositoryManager. getAllUserRepositoryInfos()
Deprecated.UseRepositoryManager.getAllRepositoryInfos()
instead.static RemoteRepositoryManager
RemoteRepositoryManager. getInstance(java.lang.String serverURL)
Creates an initializedRemoteRepositoryManager
with the specified server URL.static RemoteRepositoryManager
RemoteRepositoryManager. getInstance(java.lang.String serverURL, java.lang.String username, java.lang.String password)
Creates an initializedRemoteRepositoryManager
with the specified server URL and credentials.java.lang.String
RepositoryManager. getNewRepositoryID(java.lang.String baseName)
Generates an ID for a new repository based on the specified base name.Repository
RepositoryManager. getRepository(java.lang.String identity)
Gets the repository that is known by the specified ID from this manager.static Repository
RepositoryProvider. getRepository(java.lang.String url)
Retrieves a (new or existing) Repository object for the supplied repository URL.RepositoryConfig
RemoteRepositoryManager. getRepositoryConfig(java.lang.String id)
abstract RepositoryConfig
RepositoryManager. getRepositoryConfig(java.lang.String repositoryID)
java.util.Set<java.lang.String>
RepositoryManager. getRepositoryIDs()
Get the IDs of all available repositories.RepositoryInfo
RepositoryManager. getRepositoryInfo(java.lang.String id)
Gets the repository that is known by the specified ID from this manager.static LocalRepositoryManager
RepositoryProvider. getRepositoryManager(java.io.File dir)
Creates aLocalRepositoryManager
, if not already created, that will be shutdown when the JVM exits cleanly.static RepositoryManager
RepositoryProvider. getRepositoryManager(java.lang.String url)
Creates aRepositoryManager
, if not already created, that will be shutdown when the JVM exits cleanly.static RepositoryManager
RepositoryProvider. getRepositoryManagerOfRepository(java.lang.String url)
Retrieves theRepositoryManager
that will be used for the given repository URL.boolean
RepositoryManager. hasRepositoryConfig(java.lang.String repositoryID)
void
RepositoryManager. init()
Initializes the repository manager.boolean
RepositoryManager. isSafeToRemove(java.lang.String repositoryID)
Checks on whether the given repository is referred to by aProxyRepository
configuration.boolean
LocalRepositoryManager. removeRepository(java.lang.String repositoryID)
boolean
RemoteRepositoryManager. removeRepository(java.lang.String repositoryID)
boolean
RepositoryManager. removeRepository(java.lang.String repositoryID)
Removes the specified repository by deleting its configuration if such a configuration is present, and removing any persistent data associated with the repository. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.manager.util
Methods in org.eclipse.rdf4j.repository.manager.util that throw RepositoryException Modifier and Type Method Description void
TypeFilteringRepositoryManager. addRepositoryConfig(RepositoryConfig config)
protected Repository
TypeFilteringRepositoryManager. createRepository(java.lang.String id)
java.util.Collection<RepositoryInfo>
TypeFilteringRepositoryManager. getAllRepositoryInfos()
java.lang.String
TypeFilteringRepositoryManager. getNewRepositoryID(java.lang.String baseName)
Repository
TypeFilteringRepositoryManager. getRepository(java.lang.String id)
RepositoryConfig
TypeFilteringRepositoryManager. getRepositoryConfig(java.lang.String repositoryID)
java.util.Set<java.lang.String>
TypeFilteringRepositoryManager. getRepositoryIDs()
RepositoryInfo
TypeFilteringRepositoryManager. getRepositoryInfo(java.lang.String id)
boolean
TypeFilteringRepositoryManager. hasRepositoryConfig(java.lang.String repositoryID)
void
NotifyingLocalRepositoryManager. init()
void
TypeFilteringRepositoryManager. init()
protected boolean
TypeFilteringRepositoryManager. isCorrectType(java.lang.String repositoryID)
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.sail
Methods in org.eclipse.rdf4j.repository.sail that return RepositoryException Modifier and Type Method Description protected RepositoryException
SailCloseableIteration. convert(java.lang.Exception e)
Methods in org.eclipse.rdf4j.repository.sail that throw RepositoryException Modifier and Type Method Description protected void
SailRepositoryConnection. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
SailRepositoryConnection. begin()
void
SailRepositoryConnection. begin(IsolationLevel level)
private void
SailUpdate. beginLocalTransaction()
void
SailRepositoryConnection. clear(Resource... contexts)
void
SailRepositoryConnection. clearNamespaces()
void
SailRepositoryConnection. close()
void
SailRepositoryConnection. commit()
private void
SailUpdate. commitLocalTransaction()
void
SailRepositoryConnection. exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
RepositoryConnection
ProxyRepository. getConnection()
SailRepositoryConnection
SailRepository. getConnection()
RepositoryResult<Resource>
SailRepositoryConnection. getContextIDs()
java.lang.String
SailRepositoryConnection. getNamespace(java.lang.String prefix)
RepositoryResult<Namespace>
SailRepositoryConnection. getNamespaces()
RepositoryResult<Statement>
SailRepositoryConnection. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
boolean
SailRepositoryConnection. hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
protected void
ProxyRepository. initializeInternal()
protected void
SailRepository. initializeInternal()
boolean
SailRepositoryConnection. isEmpty()
boolean
SailRepositoryConnection. isOpen()
boolean
ProxyRepository. isWritable()
boolean
SailRepository. isWritable()
void
SailRepositoryConnection. prepare()
Update
SailRepositoryConnection. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
void
SailRepositoryConnection. removeNamespace(java.lang.String prefix)
protected void
SailRepositoryConnection. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
void
SailRepositoryConnection. rollback()
private void
SailUpdate. rollbackLocalTransaction()
void
SailRepositoryConnection. setNamespace(java.lang.String prefix, java.lang.String name)
protected void
ProxyRepository. shutDownInternal()
protected void
SailRepository. shutDownInternal()
long
SailRepositoryConnection. size(Resource... contexts)
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.sail.config
Methods in org.eclipse.rdf4j.repository.sail.config that throw RepositoryException Modifier and Type Method Description Repository
RepositoryResolver. getRepository(java.lang.String memberID)
Deprecated. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.sparql
Methods in org.eclipse.rdf4j.repository.sparql that throw RepositoryException Modifier and Type Method Description void
SPARQLConnection. add(java.io.File file, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
SPARQLConnection. add(java.io.InputStream in, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
SPARQLConnection. add(java.io.Reader reader, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
SPARQLConnection. add(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
void
SPARQLConnection. add(java.net.URL url, java.lang.String baseURI, RDFFormat dataFormat, Resource... contexts)
void
SPARQLConnection. add(Statement st, Resource... contexts)
protected void
SPARQLConnection. addWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
protected void
SPARQLConnection. addWithoutCommit(Statement st, Resource... contexts)
void
SPARQLConnection. begin()
void
SPARQLConnection. clear(Resource... contexts)
void
SPARQLConnection. clearNamespaces()
void
SPARQLConnection. close()
void
SPARQLConnection. commit()
void
SPARQLConnection. exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts)
RepositoryConnection
SPARQLRepository. getConnection()
RepositoryResult<Resource>
SPARQLConnection. getContextIDs()
java.lang.String
SPARQLConnection. getNamespace(java.lang.String prefix)
RepositoryResult<Namespace>
SPARQLConnection. getNamespaces()
private RepositoryResult<Statement>
SPARQLConnection. getStatementGeneral(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
RepositoryResult<Statement>
SPARQLConnection. getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
private RepositoryResult<Statement>
SPARQLConnection. getStatementsQuadMode(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
private RepositoryResult<Statement>
SPARQLConnection. getStatementsSingleTriple(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
boolean
SPARQLConnection. hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts)
protected void
SPARQLRepository. initializeInternal()
boolean
SPARQLConnection. isActive()
boolean
SPARQLConnection. isEmpty()
boolean
SPARQLRepository. isWritable()
void
SPARQLConnection. prepare()
BooleanQuery
SPARQLConnection. prepareBooleanQuery(QueryLanguage ql, java.lang.String query, java.lang.String base)
GraphQuery
SPARQLConnection. prepareGraphQuery(QueryLanguage ql, java.lang.String query, java.lang.String base)
Query
SPARQLConnection. prepareQuery(QueryLanguage ql, java.lang.String query, java.lang.String base)
TupleQuery
SPARQLConnection. prepareTupleQuery(QueryLanguage ql, java.lang.String query, java.lang.String base)
Update
SPARQLConnection. prepareUpdate(QueryLanguage ql, java.lang.String update, java.lang.String baseURI)
void
SPARQLConnection. remove(java.lang.Iterable<? extends Statement> statements, Resource... contexts)
void
SPARQLConnection. remove(Statement st, Resource... contexts)
void
SPARQLConnection. removeNamespace(java.lang.String prefix)
protected void
SPARQLConnection. removeWithoutCommit(Resource subject, IRI predicate, Value object, Resource... contexts)
protected void
SPARQLConnection. removeWithoutCommit(Statement st, Resource... contexts)
void
SPARQLConnection. rollback()
private void
SPARQLConnection. setBindings(Query query, Resource subj, IRI pred, Value obj, Resource... contexts)
void
SPARQLConnection. setNamespace(java.lang.String prefix, java.lang.String name)
protected void
SPARQLRepository. shutDownInternal()
long
SPARQLConnection. size(Resource... contexts)
-
Uses of RepositoryException in org.eclipse.rdf4j.repository.sparql.federation
Methods in org.eclipse.rdf4j.repository.sparql.federation that throw RepositoryException Modifier and Type Method Description private RepositoryConnection
RepositoryFederatedService. freshConnection()
Return a freshRepositoryConnection
from the configured repository.protected RepositoryConnection
RepositoryFederatedService. getConnection()
Retrieve a (re-usable) connection. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.util
Methods in org.eclipse.rdf4j.repository.util that return types with arguments of type RepositoryException Modifier and Type Method Description static java.util.function.Supplier<RepositoryException>
Repositories. repositoryException(java.lang.String message)
Creates aSupplier
ofRepositoryException
objects that be passed toOptional.orElseThrow(Supplier)
to generate exceptions as necessary.Method parameters in org.eclipse.rdf4j.repository.util with type arguments of type RepositoryException Modifier and Type Method Description static <T> T
Repositories. get(Repository repository, java.util.function.Function<RepositoryConnection,T> processFunction, java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenFunction
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> T
Repositories. getNoTransaction(Repository repository, java.util.function.Function<RepositoryConnection,T> processFunction, java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.Methods in org.eclipse.rdf4j.repository.util that throw RepositoryException Modifier and Type Method Description static void
Repositories. consume(Repository repository, java.util.function.Consumer<RepositoryConnection> processFunction)
Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenConsumer
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static void
Repositories. consume(Repository repository, java.util.function.Consumer<RepositoryConnection> processFunction, java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenConsumer
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static void
Repositories. consumeNoTransaction(Repository repository, java.util.function.Consumer<RepositoryConnection> processFunction)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenConsumer
.static void
Repositories. consumeNoTransaction(Repository repository, java.util.function.Consumer<RepositoryConnection> processFunction, java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenConsumer
.static void
Connections. consumeRDFCollection(RepositoryConnection conn, Resource head, java.util.function.Consumer<Statement> collectionConsumer, Resource... contexts)
Retrieve allStatement
s that together form the RDF Collection starting with the supplied start resource and send them to the suppliedConsumer
.static java.util.Collection<? extends Statement>
RepositoryUtil. difference(Repository rep1, Repository rep2)
Compares two models defined by the default context of two repositories and returns the difference between the first and the second model (that is, all statements that are present in rep1 but not in rep2).static boolean
RepositoryUtil. equals(Repository rep1, Repository rep2)
Compares the models in the default contexts of the two supplied repositories and returns true if they are equal.static <T> T
Repositories. get(Repository repository, java.util.function.Function<RepositoryConnection,T> processFunction)
Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenFunction
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> T
Repositories. get(Repository repository, java.util.function.Function<RepositoryConnection,T> processFunction, java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenFunction
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> T
Repositories. getNoTransaction(Repository repository, java.util.function.Function<RepositoryConnection,T> processFunction)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.static <T> T
Repositories. getNoTransaction(Repository repository, java.util.function.Function<RepositoryConnection,T> processFunction, java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.static <C extends java.util.Collection<Statement>>
CConnections. getRDFCollection(RepositoryConnection conn, Resource head, C statementCollection, Resource... contexts)
Retrieve allStatement
s that together form the RDF Collection starting with the supplied starting resource.static java.util.Optional<Statement>
Connections. getStatement(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts)
Retrieve a singleStatement
matching with the supplied subject, predicate, object and context(s) from the givenRepositoryConnection
.static <T> T
Repositories. graphQuery(Repository repository, java.lang.String query, java.util.function.Function<GraphQueryResult,T> processFunction)
Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes the results to the givenFunction
with the result from the function returned by the method.static void
Repositories. graphQuery(Repository repository, java.lang.String query, RDFHandler handler)
Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes the results to the givenRDFHandler
.static <T> T
Repositories. graphQueryNoTransaction(Repository repository, java.lang.String query, java.util.function.Function<GraphQueryResult,T> processFunction)
Performs a SPARQL Construct or Describe query on the given Repository without opening a transaction and passes the results to the givenFunction
with the result from the function returned by the method.static void
Repositories. graphQueryNoTransaction(Repository repository, java.lang.String query, RDFHandler handler)
Performs a SPARQL Construct or Describe query on the given Repository without opening a transaction and passes the results to the givenRDFHandler
.static boolean
RepositoryUtil. isSubset(Repository rep1, Repository rep2)
Compares the models of the default context of two repositories and returns true if rep1 is a subset of rep2.static <T> T
Repositories. tupleQuery(Repository repository, java.lang.String query, java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the givenFunction
with the result from the function returned by the method.static void
Repositories. tupleQuery(Repository repository, java.lang.String query, TupleQueryResultHandler handler)
Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the givenTupleQueryResultHandler
.static <T> T
Repositories. tupleQueryNoTransaction(Repository repository, java.lang.String query, java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the givenFunction
with the result from the function returned by the method.static void
Repositories. tupleQueryNoTransaction(Repository repository, java.lang.String query, TupleQueryResultHandler handler)
Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the givenTupleQueryResultHandler
.
-