| 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.sail | Repository implementation for local RDF databases that implement the SAIL SPI. | 
| org.eclipse.rdf4j.repository.sparql | A  Repositorythat serves as a SPARQL endpoint client. | 
| org.eclipse.rdf4j.repository.util | Helper classes for working with Repositories. | 
| 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 | 
|---|---|
| boolean | SailRepositoryConnection. isActive() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SPARQLConnection. isActive() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | Repositories. consume(Repository repository,
       java.util.function.Consumer<RepositoryConnection> processFunction)Opens a  RepositoryConnectionto 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 a  RepositoryConnectionto 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 a  RepositoryConnectionto 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 a  RepositoryConnectionto the given Repository without opening a transaction, sends the connection
 to the givenConsumer. | 
| static <T> T | Repositories. get(Repository repository,
   java.util.function.Function<RepositoryConnection,T> processFunction)Opens a  RepositoryConnectionto 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 a  RepositoryConnectionto 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 a  RepositoryConnectionto 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 a  RepositoryConnectionto the given Repository without opening a transaction, sends the connection
 to the givenFunction. | 
| 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 within a transaction and passes the results
 to the given  Functionwith 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 given  RDFHandler. | 
| static <T> T | Repositories. graphQueryNoTransaction(Repository repository,
                       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 given  Functionwith 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 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 within a transaction and passes the results to the given
  Functionwith 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 given
  TupleQueryResultHandler. | 
| static <T> T | Repositories. tupleQueryNoTransaction(Repository repository,
                       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 given  Functionwith 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 given  TupleQueryResultHandler. | 
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.