| Package | Description |
|---|---|
| org.eclipse.rdf4j.repository |
The Repository API: the main API for handling RDF4J repositories.
|
| org.eclipse.rdf4j.repository.base | |
| org.eclipse.rdf4j.repository.util |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RepositoryConnection.isActive()
Indicates if a transaction is currently active on the connection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RepositoryConnectionWrapper.isActive() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Repositories.consume(Repository repository,
java.util.function.Consumer<RepositoryConnection> processFunction)
Opens a
RepositoryConnection to the given Repository, sends the connection to the given
Consumer, 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 a
RepositoryConnection to the given Repository, sends the connection to the given
Consumer, 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)
Opens a
RepositoryConnection to the given Repository, sends the connection to the given
Function, 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 a
RepositoryConnection to the given Repository, sends the connection to the given
Function, before either rolling back the transaction if it failed, or committing the
transaction if it was successful. |
static <T> T |
Repositories.graphQuery(Repository repository,
String query,
java.util.function.Function<GraphQueryResult,T> processFunction)
Performs a SPARQL Construct or Describe query on the given Repository and passes the results to the
given
Function 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 and passes the results to the
given
RDFHandler. |
static <T> T |
Repositories.tupleQuery(Repository repository,
String query,
java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository and passes the results to the given
Function 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 and passes the results to the given
TupleQueryResultHandler. |
Copyright © 2015-2017 Eclipse Foundation. All Rights Reserved.