Modifier and Type | Method and Description |
---|---|
Repository |
ConsoleState.getRepository()
Get repository
|
Modifier and Type | Method and Description |
---|---|
static Resource |
Util.getContext(Repository repository,
String ctxID)
Get context IRI from string representation
|
static Resource[] |
Util.getContexts(String[] tokens,
int pos,
Repository repository)
Get context IRIs from a series of tokens, starting from (zero-based) position within the series.
|
void |
ConsoleState.setRepository(Repository repository)
Set repository
|
static boolean |
LockRemover.tryToRemoveLock(Repository repo,
ConsoleIO consoleIO)
Try to remove lock from repository
|
Constructor and Description |
---|
RepositoryFederatedService(Repository repo)
Deprecated.
|
RepositoryFederatedService(Repository repo,
boolean shutDown)
Deprecated.
|
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 2.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 | Class and Description |
---|---|
class |
DatasetRepository
A repository that automatically attempts to load the dataset supplied in a (SPARQL) query (using FROM and FROM NAMED
clauses).
|
Modifier and Type | Method and Description |
---|---|
void |
DatasetRepository.setDelegate(Repository delegate) |
Modifier and Type | Method and Description |
---|---|
Repository |
DatasetRepositoryFactory.getRepository(RepositoryImplConfig config) |
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.
Repository configuration is no longer stored in a centralized system repository, instead using a file
config.ttl per repository, stored in that repository's datadir. |
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 |
ProxyRepository
Repository implementation that takes a
RepositoryResolver instance and the id of a managed repository, and delegate all
calls through to the given repository. |
class |
SailRepository
An implementation of the
Repository interface that operates on a (stack of) Sail object(s). |
Modifier and Type | Method and Description |
---|---|
Repository |
SailRepositoryFactory.getRepository(RepositoryImplConfig config) |
Repository |
ProxyRepositoryFactory.getRepository(RepositoryImplConfig config) |
Repository |
RepositoryResolver.getRepository(String memberID)
Deprecated.
|
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 . |
Modifier and Type | Method and Description |
---|---|
protected Map<Repository,RepositoryBloomFilter> |
Federation.getBloomFilters()
Returns the configured
RepositoryBloomFilter s (if any). |
protected List<Repository> |
Federation.getMembers()
Returns the members of this federation.
|
Modifier and Type | Method and Description |
---|---|
void |
Federation.addMember(Repository member) |
void |
Federation.setBloomFilter(Repository member,
RepositoryBloomFilter filter)
Sets an optional
RepositoryBloomFilter to use with the given Repository . |
Constructor and Description |
---|
EmptyPatternOptimizer(Collection<? extends RepositoryConnection> members,
java.util.function.Function<? super Repository,? extends RepositoryBloomFilter> bloomFilters) |
FederationJoinOptimizer(Collection<? extends RepositoryConnection> members,
boolean distinct,
PrefixHashSet localSpace,
java.util.function.Function<? super Repository,? extends RepositoryBloomFilter> bloomFilters) |
Constructor and Description |
---|
SchemaCachingRDFSInferencer(NotifyingSail data,
Repository schema)
Instantiate a SchemaCachingRDFSInferencer with a predefined schema.
|
SchemaCachingRDFSInferencer(NotifyingSail data,
Repository schema,
boolean useAllRdfsRules)
Instantiate a SchemaCachingRDFSInferencer with a predefined schema.
|
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.