| 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.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryResult<Resource> |
RepositoryConnection.getContextIDs()
Gets all resources that are used as content identifiers.
|
RepositoryResult<Namespace> |
RepositoryConnection.getNamespaces()
Gets all declared namespaces as a RepositoryResult of
Namespace objects. |
RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from the repository.
|
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from the repository.
|
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 2.0. Use
RepositoryConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
| Modifier and Type | Method and Description |
|---|---|
default void |
RepositoryConnection.add(RepositoryResult<Statement> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.
|
default void |
RepositoryConnection.remove(RepositoryResult<Statement> statements,
Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context information
carried by the statements themselves.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryResult<Resource> |
RepositoryConnectionWrapper.getContextIDs() |
RepositoryResult<Namespace> |
RepositoryConnectionWrapper.getNamespaces() |
RepositoryResult<Statement> |
RepositoryConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RepositoryConnectionWrapper.exportStatements(RepositoryResult<Statement> stIter,
RDFHandler handler)
Exports all statements contained in the supplied statement iterator and all relevant namespace information to the
supplied RDFHandler.
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.