| 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.filters | |
| org.eclipse.rdf4j.repository.util |
Helper classes for working with Repositories.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DelegatingRepositoryConnection |
| Modifier and Type | Method and Description |
|---|---|
RepositoryConnection |
Repository.getConnection()
Opens a connection to this repository that can be used for querying and updating the contents of the repository.
|
RepositoryConnection |
DelegatingRepositoryConnection.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
DelegatingRepositoryConnection.setDelegate(RepositoryConnection delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRepositoryConnection
Abstract class implementing most 'convenience' methods in the
RepositoryConnection interface by transforming
parameters and mapping the methods to the basic (abstractly declared) methods. |
class |
RepositoryConnectionBase
Deprecated.
since 2.0. Use
AbstractRepositoryConnection instead. |
class |
RepositoryConnectionWrapper
Delegates all calls to the delegate RepositoryConnection.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryConnection |
RepositoryWrapper.getConnection() |
RepositoryConnection |
RepositoryConnectionWrapper.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryConnectionWrapper.setDelegate(RepositoryConnection delegate) |
| Constructor and Description |
|---|
RepositoryConnectionWrapper(Repository repository,
RepositoryConnection delegate) |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.rdf4j.model.Resource |
RepositoryConfigUtil.getContext(RepositoryConnection con,
String repositoryID)
Deprecated.
|
static void |
RepositoryConfigUtil.updateRepositoryConfigs(RepositoryConnection con,
RepositoryConfig... configs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
org.eclipse.rdf4j.model.Resource subj,
org.eclipse.rdf4j.model.IRI pred,
org.eclipse.rdf4j.model.Value obj,
org.eclipse.rdf4j.model.Resource... contexts) |
boolean |
InaccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
org.eclipse.rdf4j.model.Resource subj,
org.eclipse.rdf4j.model.IRI pred,
org.eclipse.rdf4j.model.Value obj,
org.eclipse.rdf4j.model.Resource... contexts) |
boolean |
RepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
org.eclipse.rdf4j.model.Resource subj,
org.eclipse.rdf4j.model.IRI pred,
org.eclipse.rdf4j.model.Value obj,
org.eclipse.rdf4j.model.Resource... ctxs)
Returns true if the repository may have such a statement or false if it definitely does not.
|
| Modifier and Type | Field and Description |
|---|---|
protected RepositoryConnection |
RDFInserter.con
The connection to use for the add operations.
|
| 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 within a transaction, 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 within a transaction, 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.consumeNoTransaction(Repository repository,
java.util.function.Consumer<RepositoryConnection> processFunction)
Opens a
RepositoryConnection to the given Repository without opening a transaction, sends the connection
to the given Consumer. |
static void |
Repositories.consumeNoTransaction(Repository repository,
java.util.function.Consumer<RepositoryConnection> processFunction,
java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens a
RepositoryConnection to the given Repository without opening a transaction, sends the connection
to the given Consumer. |
static void |
Repositories.consumeSilent(Repository repository,
java.util.function.Consumer<RepositoryConnection> processFunction)
Opens a
RepositoryConnection to the given Repository within a transaction, 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.consumeSilentNoTransaction(Repository repository,
java.util.function.Consumer<RepositoryConnection> processFunction)
Opens a
RepositoryConnection to the given Repository without opening a transaction, sends the connection
to the given Consumer. |
static <T> T |
Repositories.get(Repository repository,
java.util.function.Function<RepositoryConnection,T> processFunction)
Opens a
RepositoryConnection to the given Repository within a transaction, 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 within a transaction, 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.getNoTransaction(Repository repository,
java.util.function.Function<RepositoryConnection,T> processFunction)
Opens a
RepositoryConnection to the given Repository without opening a transaction, sends the connection
to the given Function. |
static <T> T |
Repositories.getNoTransaction(Repository repository,
java.util.function.Function<RepositoryConnection,T> processFunction,
java.util.function.Consumer<RepositoryException> exceptionHandler)
Opens a
RepositoryConnection to the given Repository without opening a transaction, sends the connection
to the given Function. |
static <T> T |
Repositories.getSilent(Repository repository,
java.util.function.Function<RepositoryConnection,T> processFunction)
Opens a
RepositoryConnection to the given Repository within a transaction, 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.getSilentNoTransaction(Repository repository,
java.util.function.Function<RepositoryConnection,T> processFunction)
Opens a
RepositoryConnection to the given Repository without opening a transaction, sends the connection
to the given Function. |
| Constructor and Description |
|---|
RDFInserter(RepositoryConnection con)
Creates a new RDFInserter object that preserves bnode IDs and that does not enforce any context upon statements
that are reported to it.
|
RDFRemover(RepositoryConnection con)
Creates a new RDFRemover object that removes the data from the default context.
|
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.