Uses of Class
org.eclipse.rdf4j.repository.RepositoryException
-
Packages that use RepositoryException Package Description 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.util Helper classes for working with Repositories. -
-
Uses of RepositoryException in org.eclipse.rdf4j.repository
Subclasses of RepositoryException in org.eclipse.rdf4j.repository Modifier and Type Class Description classRepositoryLockedExceptionIndicates that a Repository cannot be initialised because the configured persisted location is locked.classRepositoryReadOnlyExceptionIndicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read from.classUnknownTransactionStateExceptionA specific subtype ofRepositoryExceptionthat indicates the connection's transaction state can not be determined.Methods in org.eclipse.rdf4j.repository that throw RepositoryException Modifier and Type Method Description voidRepositoryConnection. add(File file, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from the specified file to a specific contexts in the repository.default voidRepositoryConnection. add(File file, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from the specified file to a specific contexts in the repository.default voidRepositoryConnection. add(File file, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from the specified file to a specific contexts in the repository.voidRepositoryConnection. add(InputStream in, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.default voidRepositoryConnection. add(InputStream in, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.voidRepositoryConnection. add(Reader reader, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from a Reader to the repository, optionally to one or more named contexts.default voidRepositoryConnection. add(Reader reader, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds RDF data from a Reader to the repository, optionally to one or more named contexts.voidRepositoryConnection. add(Iterable<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)Adds the supplied statements to this repository, optionally to one or more named contexts.voidRepositoryConnection. add(URL url, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.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 voidRepositoryConnection. add(URL url, org.eclipse.rdf4j.model.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 voidRepositoryConnection. add(URL url, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.voidRepositoryConnection. add(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)Adds the supplied statements to this repository, optionally to one or more named contexts.voidRepositoryConnection. add(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)Adds a statement with the specified subject, predicate and object to this repository, optionally to one or more named contexts.voidRepositoryConnection. add(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)Adds the supplied statement to this repository, optionally to one or more named contexts.default voidRepositoryConnection. add(RepositoryResult<org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)Adds the supplied statements to this repository, optionally to one or more named contexts.<C extends Collection<T>>
CRepositoryResult. addTo(C collection)Deprecated.UseIterations.addAll(CloseableIteration, Collection)instead.List<T>RepositoryResult. asList()Deprecated.UseIterations.asList(CloseableIteration)instead.voidRepositoryConnection. begin()Begins a new transaction, requiringRepositoryConnection.commit()orRepositoryConnection.rollback()to be called to end the transaction.voidRepositoryConnection. begin(IsolationLevel level)Begins a new transaction with the suppliedIsolationLevel, requiringRepositoryConnection.commit()orRepositoryConnection.rollback()to be called to end the transaction.voidRepositoryConnection. clear(org.eclipse.rdf4j.model.Resource... contexts)Removes all statements from a specific contexts in the repository.voidRepositoryConnection. clearNamespaces()Removes all namespace declarations from the repository.default voidRepositoryConnection. close()Closes the connection, freeing resources.voidRepositoryConnection. commit()Commits the active transaction.voidRepositoryResult. enableDuplicateFilter()Switches on duplicate filtering while iterating over objects.voidRepositoryConnection. export(RDFHandler handler, org.eclipse.rdf4j.model.Resource... contexts)Exports all explicit statements in the specified contexts to the supplied RDFHandler.voidRepositoryConnection. exportStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, boolean includeInferred, RDFHandler handler, org.eclipse.rdf4j.model.Resource... contexts)Exports all statements with a specific subject, predicate and/or object from the repository, optionally from the specified contexts.RepositoryConnectionRepository. getConnection()Opens a connection to this repository that can be used for querying and updating the contents of the repository.RepositoryResult<org.eclipse.rdf4j.model.Resource>RepositoryConnection. getContextIDs()Gets all resources that are used as content identifiers.RepositoryConnectionDelegatingRepositoryConnection. getDelegate()StringRepositoryConnection. getNamespace(String prefix)Gets the namespace that is associated with the specified prefix, if any.RepositoryResult<org.eclipse.rdf4j.model.Namespace>RepositoryConnection. getNamespaces()Gets all declared namespaces as a RepositoryResult ofNamespaceobjects.RepositoryRepositoryResolver. getRepository(String memberID)RepositoryResult<org.eclipse.rdf4j.model.Statement>RepositoryConnection. 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 with a specific subject, predicate and/or object from the repository.default RepositoryResult<org.eclipse.rdf4j.model.Statement>RepositoryConnection. getStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)Gets all statements with a specific subject, predicate and/or object from the repository.protected voidRepositoryResult. handleClose()booleanRepositoryResult. hasNext()booleanRepositoryConnection. 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)Checks whether the repository contains statements with a specific subject, predicate and/or object, optionally in the specified contexts.booleanRepositoryConnection. hasStatement(org.eclipse.rdf4j.model.Statement st, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts)Checks whether the repository contains the specified statement, optionally in the specified contexts.voidRepository. init()Initializes this repository.booleanRepositoryConnection. isActive()Indicates if a transaction is currently active on the connection.booleanRepositoryConnection. isAutoCommit()Deprecated.UseRepositoryConnection.isActive()instead.booleanRepositoryConnection. isEmpty()Returns true if this repository does not contain any (explicit) statements.booleanRepositoryConnection. isOpen()Checks whether this connection is open.booleanRepository. isWritable()Checks whether this repository is writable, i.e.TRepositoryResult. next()default voidRepositoryConnection. prepare()Checks for an error state in the active transaction that would force the transaction to be rolled back.default BooleanQueryRepositoryConnection. prepareBooleanQuery(String query)Prepares SPARQL queries that return true or false, that is, SPARQL ASK queries.BooleanQueryRepositoryConnection. prepareBooleanQuery(QueryLanguage ql, String query)Prepares queries that return true or false.BooleanQueryRepositoryConnection. prepareBooleanQuery(QueryLanguage ql, String query, String baseURI)Prepares queries that return true or false.default GraphQueryRepositoryConnection. prepareGraphQuery(String query)Prepares SPARQL queries that produce RDF graphs, that is, SPARQL CONSTRUCT or DESCRIBE queries.GraphQueryRepositoryConnection. prepareGraphQuery(QueryLanguage ql, String query)Prepares queries that produce RDF graphs.GraphQueryRepositoryConnection. prepareGraphQuery(QueryLanguage ql, String query, String baseURI)Prepares queries that produce RDF graphs.default QueryRepositoryConnection. prepareQuery(String query)Prepares a SPARQL query for evaluation on this repository (optional operation).QueryRepositoryConnection. prepareQuery(QueryLanguage ql, String query)Prepares a query for evaluation on this repository (optional operation).QueryRepositoryConnection. prepareQuery(QueryLanguage ql, String query, String baseURI)Prepares a query for evaluation on this repository (optional operation).default TupleQueryRepositoryConnection. prepareTupleQuery(String query)Prepares a SPARQL query that produces sets of value tuples, that is a SPARQL SELECT query.TupleQueryRepositoryConnection. prepareTupleQuery(QueryLanguage ql, String query)Prepares a query that produces sets of value tuples.TupleQueryRepositoryConnection. prepareTupleQuery(QueryLanguage ql, String query, String baseURI)Prepares a query that produces sets of value tuples.default UpdateRepositoryConnection. prepareUpdate(String update)Prepares a SPARQL Update operation.UpdateRepositoryConnection. prepareUpdate(QueryLanguage ql, String update)Prepares an Update operation.UpdateRepositoryConnection. prepareUpdate(QueryLanguage ql, String update, String baseURI)Prepares an Update operation.voidRepositoryConnection. remove(Iterable<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)Removes the supplied statements from the specified contexts in this repository.voidRepositoryConnection. remove(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.voidRepositoryConnection. remove(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)Removes the statement(s) with the specified subject, predicate and object from the repository, optionally restricted to the specified contexts.voidRepositoryConnection. remove(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)Removes the supplied statement from the specified contexts in the repository.default voidRepositoryConnection. remove(RepositoryResult<org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.voidRepositoryResult. remove()voidRepositoryConnection. removeNamespace(String prefix)Removes a namespace declaration by removing the association between a prefix and a namespace name.voidRepositoryConnection. rollback()Rolls back all updates in the active transaction.voidRepositoryConnection. setAutoCommit(boolean autoCommit)Deprecated.UseRepositoryConnection.begin()instead.voidRepositoryConnection. setNamespace(String prefix, String name)Sets the prefix for a namespace.voidRepository. shutDown()Shuts the repository down, releasing any resources that it keeps hold of.longRepositoryConnection. size(org.eclipse.rdf4j.model.Resource... contexts)Returns the number of (explicit) statements that are in the specified contexts in this repository. -
Uses of RepositoryException in org.eclipse.rdf4j.repository.base
Methods in org.eclipse.rdf4j.repository.base that throw RepositoryException Modifier and Type Method Description voidAbstractRepositoryConnection. add(File file, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(InputStream in, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(Reader reader, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(Iterable<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(URL url, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. add(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(File file, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(InputStream in, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(Reader reader, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(Iterable<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(URL url, String baseURI, RDFFormat dataFormat, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> statementIter, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. add(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)protected abstract voidAbstractRepositoryConnection. addWithoutCommit(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)protected voidAbstractRepositoryConnection. addWithoutCommit(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)protected voidRepositoryConnectionWrapper. addWithoutCommit(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. begin(IsolationLevel level)voidRepositoryConnectionWrapper. begin()voidRepositoryConnectionWrapper. begin(IsolationLevel level)voidAbstractRepositoryConnection. clear(org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. clear(org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. clearNamespaces()voidAbstractRepositoryConnection. close()voidRepositoryConnectionWrapper. close()voidRepositoryConnectionWrapper. commit()protected voidAbstractRepositoryConnection. conditionalCommit(boolean condition)InvokesRepositoryConnection.commit()if supplied boolean condition istrue.protected voidAbstractRepositoryConnection. conditionalRollback(boolean condition)InvokesRepositoryConnection.rollback()if supplied boolean condition istrue.voidAbstractRepositoryConnection. export(RDFHandler handler, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. exportStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, boolean includeInferred, RDFHandler handler, org.eclipse.rdf4j.model.Resource... contexts)protected voidRepositoryConnectionWrapper. exportStatements(RepositoryResult<org.eclipse.rdf4j.model.Statement> stIter, RDFHandler handler)Exports all statements contained in the supplied statement iterator and all relevant namespace information to the supplied RDFHandler.RepositoryConnectionRepositoryWrapper. getConnection()RepositoryResult<org.eclipse.rdf4j.model.Resource>RepositoryConnectionWrapper. getContextIDs()abstract StringAbstractRepositoryConnection. getNamespace(String prefix)StringRepositoryConnectionWrapper. getNamespace(String prefix)RepositoryResult<org.eclipse.rdf4j.model.Namespace>RepositoryConnectionWrapper. getNamespaces()RepositoryResult<org.eclipse.rdf4j.model.Statement>RepositoryConnectionWrapper. 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)booleanAbstractRepositoryConnection. 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)booleanAbstractRepositoryConnection. hasStatement(org.eclipse.rdf4j.model.Statement st, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts)booleanRepositoryConnectionWrapper. 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)booleanRepositoryConnectionWrapper. hasStatement(org.eclipse.rdf4j.model.Statement st, boolean includeInferred, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepository. init()voidRepositoryWrapper. init()protected abstract voidAbstractRepository. initializeInternal()booleanRepositoryConnectionWrapper. isActive()booleanAbstractRepositoryConnection. isAutoCommit()Deprecated.UseRepositoryConnection.isActive()instead.booleanRepositoryConnectionWrapper. isAutoCommit()Deprecated.UseRepositoryConnectionWrapper.isActive()instead.protected booleanRepositoryConnectionWrapper. isDelegatingAdd()If false then the following add methods will callRepositoryConnectionWrapper.addWithoutCommit(Resource, IRI, Value, Resource[]).protected booleanRepositoryConnectionWrapper. isDelegatingRead()If false then the following has/export/isEmpty methods will callRepositoryConnectionWrapper.getStatements(Resource, IRI, Value, boolean, Resource[]).protected booleanRepositoryConnectionWrapper. isDelegatingRemove()If false then the following remove methods will callRepositoryConnectionWrapper.removeWithoutCommit(Resource, IRI, Value, Resource[]).booleanAbstractRepositoryConnection. isEmpty()booleanRepositoryConnectionWrapper. isEmpty()booleanAbstractRepositoryConnection. isOpen()booleanRepositoryConnectionWrapper. isOpen()booleanRepositoryWrapper. isWritable()voidRepositoryConnectionWrapper. prepare()BooleanQueryAbstractRepositoryConnection. prepareBooleanQuery(QueryLanguage ql, String query)BooleanQueryRepositoryConnectionWrapper. prepareBooleanQuery(QueryLanguage ql, String query, String baseURI)GraphQueryAbstractRepositoryConnection. prepareGraphQuery(QueryLanguage ql, String query)GraphQueryRepositoryConnectionWrapper. prepareGraphQuery(QueryLanguage ql, String query, String baseURI)QueryAbstractRepositoryConnection. prepareQuery(QueryLanguage ql, String query)QueryRepositoryConnectionWrapper. prepareQuery(QueryLanguage ql, String query, String baseURI)TupleQueryAbstractRepositoryConnection. prepareTupleQuery(QueryLanguage ql, String query)TupleQueryRepositoryConnectionWrapper. prepareTupleQuery(QueryLanguage ql, String query, String baseURI)UpdateAbstractRepositoryConnection. prepareUpdate(QueryLanguage ql, String update)UpdateRepositoryConnectionWrapper. prepareUpdate(QueryLanguage ql, String update, String baseURI)voidAbstractRepositoryConnection. remove(Iterable<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. remove(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. remove(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)voidAbstractRepositoryConnection. remove(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. remove(Iterable<? extends org.eclipse.rdf4j.model.Statement> statements, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. remove(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> statementIter, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. remove(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. remove(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. removeNamespace(String prefix)protected abstract voidAbstractRepositoryConnection. removeWithoutCommit(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)protected voidAbstractRepositoryConnection. removeWithoutCommit(org.eclipse.rdf4j.model.Statement st, org.eclipse.rdf4j.model.Resource... contexts)protected voidRepositoryConnectionWrapper. removeWithoutCommit(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)voidRepositoryConnectionWrapper. rollback()voidAbstractRepositoryConnection. setAutoCommit(boolean autoCommit)Deprecated.UseRepositoryConnection.begin()instead.voidRepositoryConnectionWrapper. setAutoCommit(boolean autoCommit)Deprecated.useRepositoryConnectionWrapper.begin()instead.abstract voidAbstractRepositoryConnection. setNamespace(String prefix, String name)voidRepositoryConnectionWrapper. setNamespace(String prefix, String name)voidAbstractRepository. shutDown()voidRepositoryWrapper. shutDown()protected abstract voidAbstractRepository. shutDownInternal()longRepositoryConnectionWrapper. size(org.eclipse.rdf4j.model.Resource... contexts)protected booleanAbstractRepositoryConnection. 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 org.eclipse.rdf4j.model.ResourceRepositoryConfigUtil. getContext(RepositoryConnection con, String repositoryID)Deprecated.static RepositoryConfigRepositoryConfigUtil. getRepositoryConfig(Repository repository, String repositoryID)Deprecated.static Set<String>RepositoryConfigUtil. getRepositoryIDs(org.eclipse.rdf4j.model.Model model)static Set<String>RepositoryConfigUtil. getRepositoryIDs(Repository repository)Deprecated.static booleanRepositoryConfigUtil. hasRepositoryConfig(Repository repository, String repositoryID)Deprecated.static booleanRepositoryConfigUtil. removeRepositoryConfigs(Repository repository, String... repositoryIDs)Deprecated.static voidRepositoryConfigUtil. updateRepositoryConfigs(RepositoryConnection con, RepositoryConfig... configs)Deprecated.static voidRepositoryConfigUtil. updateRepositoryConfigs(Repository repository, RepositoryConfig... configs)Deprecated. -
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 Supplier<RepositoryException>Repositories. repositoryException(String message)Creates aSupplierofRepositoryExceptionobjects 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> TRepositories. get(Repository repository, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto 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> TRepositories. getNoTransaction(Repository repository, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto 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 voidRepositories. consume(Repository repository, Consumer<RepositoryConnection> processFunction)Opens aRepositoryConnectionto 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 voidRepositories. consume(Repository repository, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto 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 voidRepositories. consumeNoTransaction(Repository repository, Consumer<RepositoryConnection> processFunction)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenConsumer.static voidRepositories. consumeNoTransaction(Repository repository, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenConsumer.static voidConnections. consumeRDFCollection(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource head, Consumer<org.eclipse.rdf4j.model.Statement> collectionConsumer, org.eclipse.rdf4j.model.Resource... contexts)Retrieve allStatements that together form the RDF Collection starting with the supplied start resource and send them to the suppliedConsumer.static Collection<? extends org.eclipse.rdf4j.model.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 booleanRepositoryUtil. 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> TRepositories. get(Repository repository, Function<RepositoryConnection,T> processFunction)Opens aRepositoryConnectionto 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> TRepositories. get(Repository repository, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto 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> TRepositories. getNoTransaction(Repository repository, Function<RepositoryConnection,T> processFunction)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenFunction.static <T> TRepositories. getNoTransaction(Repository repository, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenFunction.static <C extends Collection<org.eclipse.rdf4j.model.Statement>>
CConnections. getRDFCollection(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource head, C statementCollection, org.eclipse.rdf4j.model.Resource... contexts)Retrieve allStatements that together form the RDF Collection starting with the supplied starting resource.static Optional<org.eclipse.rdf4j.model.Statement>Connections. getStatement(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)Retrieve a singleStatementmatching with the supplied subject, predicate, object and context(s) from the givenRepositoryConnection.static <T> TRepositories. graphQuery(Repository repository, String query, Function<GraphQueryResult,T> processFunction)Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes the results to the givenFunctionwith the result from the function returned by the method.static voidRepositories. graphQuery(Repository repository, 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> TRepositories. graphQueryNoTransaction(Repository repository, String query, 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 givenFunctionwith the result from the function returned by the method.static voidRepositories. graphQueryNoTransaction(Repository repository, 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 booleanRepositoryUtil. 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> TRepositories. tupleQuery(Repository repository, String query, Function<TupleQueryResult,T> processFunction)Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the givenFunctionwith the result from the function returned by the method.static voidRepositories. tupleQuery(Repository repository, 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> TRepositories. tupleQueryNoTransaction(Repository repository, String query, Function<TupleQueryResult,T> processFunction)Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the givenFunctionwith the result from the function returned by the method.static voidRepositories. tupleQueryNoTransaction(Repository repository, String query, TupleQueryResultHandler handler)Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the givenTupleQueryResultHandler.
-