| Modifier and Type | Interface and Description |
|---|---|
interface |
DelegatingRepository
Main interface for repositories that wrap another repository.
|
| Modifier and Type | Method and Description |
|---|---|
Repository |
DelegatingRepository.getDelegate() |
Repository |
RepositoryConnection.getRepository()
Returns the Repository object to which this connection belongs.
|
Repository |
RepositoryResolver.getRepository(String memberID) |
| Modifier and Type | Method and Description |
|---|---|
void |
DelegatingRepository.setDelegate(Repository delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRepository
Base class for
Repository implementation, offering common functionality. |
class |
RepositoryBase
Deprecated.
since 4.0. Use
AbstractRepository instead. |
class |
RepositoryWrapper
A
DelegatingRepository implementation that, by default, forwards all method calls to its delegate. |
| Modifier and Type | Method and Description |
|---|---|
Repository |
RepositoryWrapper.getDelegate() |
Repository |
AbstractRepositoryConnection.getRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryWrapper.setDelegate(Repository delegate) |
| Constructor and Description |
|---|
AbstractRepositoryConnection(Repository repository) |
RepositoryConnectionBase(Repository repository)
Deprecated.
|
RepositoryConnectionWrapper(Repository repository) |
RepositoryConnectionWrapper(Repository repository,
RepositoryConnection delegate) |
RepositoryWrapper(Repository delegate)
Creates a new RepositoryWrapper and calls
RepositoryWrapper.setDelegate(Repository) with the supplied
delegate repository. |
| Modifier and Type | Method and Description |
|---|---|
Repository |
RepositoryFactory.getRepository(RepositoryImplConfig config)
Returns a Repository instance that has been initialized using the supplied configuration data.
|
| Modifier and Type | Method and Description |
|---|---|
static RepositoryConfig |
RepositoryConfigUtil.getRepositoryConfig(Repository repository,
String repositoryID)
Deprecated.
|
static Set<String> |
RepositoryConfigUtil.getRepositoryIDs(Repository repository)
Deprecated.
|
static boolean |
RepositoryConfigUtil.hasRepositoryConfig(Repository repository,
String repositoryID)
Deprecated.
|
static boolean |
RepositoryConfigUtil.removeRepositoryConfigs(Repository repository,
String... repositoryIDs)
Deprecated.
|
static void |
RepositoryConfigUtil.updateRepositoryConfigs(Repository repository,
RepositoryConfig... configs)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContextAwareRepository
Allows contexts to be specified at the repository level.
|
| Constructor and Description |
|---|
ContextAwareConnection(Repository repository) |
ContextAwareConnection(Repository repository,
RepositoryConnection connection) |
ContextAwareRepository(Repository delegate) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
ContextAwareFactory.getRepository(RepositoryImplConfig configuration) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InterceptingRepository |
interface |
NotifyingRepository |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RepositoryInterceptor.getConnection(Repository repo,
RepositoryConnection conn) |
boolean |
RepositoryInterceptor.initialize(Repository repo) |
boolean |
RepositoryInterceptor.setDataDir(Repository repo,
File dataDir) |
boolean |
RepositoryInterceptor.shutDown(Repository repo) |
| Modifier and Type | Class and Description |
|---|---|
class |
InterceptingRepositoryWrapper
Wrapper that notifies interceptors of events on Repositories before they happen.
|
class |
NotifyingRepositoryWrapper
This notifying decorator allows listeners to register with the repository or connection and be notified
when events occur.
|
| Constructor and Description |
|---|
InterceptingRepositoryConnectionWrapper(Repository repository,
RepositoryConnection connection) |
InterceptingRepositoryWrapper(Repository delegate) |
NotifyingRepositoryConnectionWrapper(Repository repository,
RepositoryConnection connection) |
NotifyingRepositoryConnectionWrapper(Repository repository,
RepositoryConnection connection,
boolean reportDeltas) |
NotifyingRepositoryWrapper(Repository delegate) |
NotifyingRepositoryWrapper(Repository delegate,
boolean defaultReportDeltas) |
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPRepository
A repository that serves as a proxy for a remote repository on a Sesame Server.
|
| Modifier and Type | Method and Description |
|---|---|
Repository |
HTTPRepositoryFactory.getRepository(RepositoryImplConfig config) |
| Modifier and Type | Class and Description |
|---|---|
class |
SystemRepository
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Repository> |
RepositoryManager.initializedRepositories |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Repository |
RepositoryManager.createRepository(String id)
Creates and initializes the repository with the specified ID.
|
protected Repository |
RemoteRepositoryManager.createRepository(String id)
Creates and initializes the repository with the specified ID.
|
protected Repository |
LocalRepositoryManager.createRepository(String id) |
protected Repository |
RepositoryManager.createSystemRepository()
Deprecated.
|
protected Repository |
RemoteRepositoryManager.createSystemRepository()
Deprecated.
|
Repository |
SystemRepositoryFactory.getRepository(RepositoryImplConfig config) |
static Repository |
RepositoryProvider.getRepository(String url)
Retrieves a (new or existing) Repository object for the supplied repository URL.
|
Repository |
RepositoryManager.getRepository(String identity)
Gets the repository that is known by the specified ID from this manager.
|
Repository |
RepositoryManager.getSystemRepository()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Repository> |
RepositoryManager.getAllRepositories()
Returns all configured repositories.
|
Collection<Repository> |
RepositoryManager.getInitializedRepositories()
Returns all initialized repositories.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SystemRepository.setDelegate(Repository delegate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RepositoryManager.setInitializedRepositories(Map<String,Repository> nextInitializedRepositories) |
| Constructor and Description |
|---|
RepositoryManager(Map<String,Repository> initializedRepositories)
Create a new RepositoryManager using the given map to store repository information.
|
| Modifier and Type | Method and Description |
|---|---|
protected Repository |
TypeFilteringRepositoryManager.createRepository(String id) |
protected Repository |
TypeFilteringRepositoryManager.createSystemRepository() |
Repository |
TypeFilteringRepositoryManager.getRepository(String id) |
Repository |
TypeFilteringRepositoryManager.getSystemRepository() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Repository> |
TypeFilteringRepositoryManager.getInitializedRepositories() |
| Modifier and Type | Class and Description |
|---|---|
class |
SPARQLRepository
A proxy class to access any SPARQL endpoint.
|
| Modifier and Type | Field and Description |
|---|---|
protected Repository |
RepositoryFederatedService.rep |
| Constructor and Description |
|---|
RepositoryFederatedService(Repository repo) |
RepositoryFederatedService(Repository repo,
boolean shutDown) |
| 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 Collection<? extends Statement> |
RepositoryUtil.difference(Repository rep1,
Repository rep2)
Compares two models defined by the default context of two repositories and returns the difference
between the first and the second model (that is, all statements that are present in rep1 but not in
rep2).
|
static boolean |
RepositoryUtil.equals(Repository rep1,
Repository rep2)
Compares the models in the default contexts of the two supplied repositories and returns true if they
are equal.
|
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. |
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
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 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
Function with 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 boolean |
RepositoryUtil.isSubset(Repository rep1,
Repository rep2)
Compares the models of the default context of two repositories and returns true if rep1 is a subset of
rep2.
|
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
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 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
Function with 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-2018 Eclipse Foundation. All Rights Reserved.