Uses of Class
org.eclipse.rdf4j.repository.UnknownTransactionStateException
Package
Description
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
Abstract base classes and wrappers for the main Repository API interfaces.
Repository implementation for local RDF databases that implement the SAIL SPI.
A
Repository
that serves as a SPARQL endpoint client.Helper classes for working with Repositories.
-
Uses of UnknownTransactionStateException in org.eclipse.rdf4j.repository
Modifier and TypeMethodDescriptionboolean
RepositoryConnection.isActive()
Indicates if a transaction is currently active on the connection. -
Uses of UnknownTransactionStateException in org.eclipse.rdf4j.repository.base
-
Uses of UnknownTransactionStateException in org.eclipse.rdf4j.repository.sail
-
Uses of UnknownTransactionStateException in org.eclipse.rdf4j.repository.sparql
-
Uses of UnknownTransactionStateException in org.eclipse.rdf4j.repository.util
Modifier and TypeMethodDescriptionstatic void
Repositories.consume(Repository repository, 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, Consumer<RepositoryConnection> processFunction, 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, 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, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenConsumer
.static <T> T
Repositories.get(Repository repository, 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, Function<RepositoryConnection,T> processFunction, 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, 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, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)
Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.static <T> T
Repositories.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 givenFunction
with the result from the function returned by the method.static void
Repositories.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> T
Repositories.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 givenFunction
with the result from the function returned by the method.static void
Repositories.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 <T> T
Repositories.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 givenFunction
with the result from the function returned by the method.static void
Repositories.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> T
Repositories.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 givenFunction
with the result from the function returned by the method.static void
Repositories.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
.