| 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.config | |
| org.eclipse.rdf4j.repository.filters | |
| org.eclipse.rdf4j.repository.util |
| 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 4.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 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,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
RepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... ctxs)
Returns true if the repository may have such a statement or false if it definitely does not.
|
boolean |
InaccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
| 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 |
Connections.consumeRDFCollection(RepositoryConnection conn,
Resource head,
java.util.function.Consumer<Statement> collectionConsumer,
Resource... contexts)
|
static <C extends Collection<Statement>> |
Connections.getRDFCollection(RepositoryConnection conn,
Resource head,
C statementCollection,
Resource... contexts)
Retrieve all
Statements that together form the RDF Collection starting with the supplied
starting resource. |
static Optional<Statement> |
Connections.getStatement(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Retrieve a single
Statement matching with the supplied subject, predicate, object and
context(s) from the given RepositoryConnection. |
| 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-2018 Eclipse Foundation. All Rights Reserved.