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
|
Modifier and Type | Field and Description |
---|---|
protected Repository |
RepositoryEndpoint.repository |
Modifier and Type | Method and Description |
---|---|
Repository |
ResolvableEndpoint.getRepository() |
Repository |
RepositoryEndpoint.getRepository() |
Repository |
Endpoint.getRepository() |
Modifier and Type | Method and Description |
---|---|
static Endpoint |
EndpointFactory.loadEndpoint(String id,
Repository repository)
Load an
Endpoint for a given (configured) Repository. |
Constructor and Description |
---|
ManagedRepositoryConnection(Repository repository,
RepositoryConnection delegate) |
ManagedRepositoryEndpoint(RepositoryInformation repoInfo,
String endpoint,
EndpointClassification endpointClassification,
Repository repo) |
RepositoryEndpoint(RepositoryInformation repoInfo,
String endpoint,
EndpointClassification endpointClassification,
Repository repository) |
Modifier and Type | Field and Description |
---|---|
protected Repository |
RepositoryEndpointProvider.repository |
Constructor and Description |
---|
RepositoryEndpointProvider(Repository repository) |
Modifier and Type | Class and Description |
---|---|
class |
FedXRepository
A special
SailRepository which performs the actions as defined in FedXRepositoryConnection . |
Modifier and Type | Method and Description |
---|---|
Repository |
FedXRepositoryFactory.getRepository(RepositoryImplConfig config) |
Constructor and Description |
---|
RepositoryWriteStrategy(Repository writeRepository) |
Modifier and Type | Class and Description |
---|---|
class |
RepositoryConfigRepository
|
Modifier and Type | Method and Description |
---|---|
static Repository |
RepositoryInterceptor.getRepository(javax.servlet.http.HttpServletRequest request) |
Constructor and Description |
---|
RepositoryFederatedService(Repository repo)
Deprecated.
|
RepositoryFederatedService(Repository repo,
boolean shutDown)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Repository |
SeRQLQueryTestCase.createRepository(String entailment) |
protected Repository |
SeRQLQueryTestCase.newRepository() |
protected Repository |
SeRQLQueryTestCase.newRepository(String entailment) |
Modifier and Type | Method and Description |
---|---|
protected void |
SeRQLQueryTestCase.discardRepository(Repository rep) |
Modifier and Type | Method and Description |
---|---|
protected Repository |
SPARQLUpdateTest.createRepository()
Creates, initializes and clears a repository.
|
protected abstract Repository |
SPARQLUpdateTest.newRepository()
Create a new Repository object.
|
protected abstract Repository |
ComplexSPARQLQueryTest.newRepository() |
Modifier and Type | Field and Description |
---|---|
protected Repository |
SPARQLQueryTest.dataRep
Deprecated.
|
protected Repository |
SPARQLUpdateConformanceTest.dataRep
Deprecated.
|
protected Repository |
SPARQL11UpdateComplianceTest.expectedResultRepo |
protected Repository |
SPARQLUpdateConformanceTest.expectedResultRepo
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Repository |
SPARQLQueryTest.createRepository()
Deprecated.
|
protected Repository |
SPARQLUpdateConformanceTest.createRepository()
Deprecated.
|
protected Repository |
SPARQL11UpdateComplianceTest.getDataRepository() |
protected Repository |
SPARQL11SyntaxComplianceTest.getDataRepository() |
protected abstract Repository |
SPARQLComplianceTest.getDataRepository() |
protected Repository |
SPARQLQueryComplianceTest.getDataRepository() |
protected abstract Repository |
SPARQL11UpdateComplianceTest.newRepository() |
protected abstract Repository |
SPARQLQueryTest.newRepository()
Deprecated.
|
protected abstract Repository |
SPARQLUpdateConformanceTest.newRepository()
Deprecated.
|
protected abstract Repository |
SPARQLQueryComplianceTest.newRepository() |
Modifier and Type | Method and Description |
---|---|
protected static String |
SPARQLQueryTest.getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL)
Deprecated.
|
protected static String |
SPARQLUpdateConformanceTest.getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DelegatingRepository
Main interface for repositories that wrap another repository.
|
Modifier and Type | Field and Description |
---|---|
protected Repository |
RepositoryTest.testRepository |
protected Repository |
RepositoryConnectionTest.testRepository |
Modifier and Type | Method and Description |
---|---|
protected abstract Repository |
RepositoryTest.createRepository()
Gets an (uninitialized) instance of the repository that should be tested.
|
protected Repository |
TupleQueryResultTest.createRepository() |
protected Repository |
SparqlSetBindingTest.createRepository() |
protected Repository |
SparqlDatasetTest.createRepository() |
protected abstract Repository |
RDFStarSupportTest.createRepository() |
protected Repository |
GraphQueryResultTest.createRepository() |
protected Repository |
SparqlRegexTest.createRepository() |
protected abstract Repository |
RepositoryConnectionTest.createRepository()
Gets an (uninitialized) instance of the repository that should be tested.
|
protected Repository |
EquivalentTest.createRepository() |
protected Repository |
SparqlAggregatesTest.createRepository() |
protected Repository |
CascadeValueExceptionTest.createRepository() |
protected Repository |
SparqlOrderByTest.createRepository() |
Repository |
DelegatingRepository.getDelegate() |
static Repository |
OptimisticIsolationTest.getEmptyInitializedRepository(Class<?> caller) |
Repository |
RepositoryConnection.getRepository()
Returns the Repository object to which this connection belongs.
|
Repository |
RepositoryResolver.getRepository(String memberID) |
protected abstract Repository |
TupleQueryResultTest.newRepository() |
protected abstract Repository |
SparqlSetBindingTest.newRepository() |
protected abstract Repository |
SparqlDatasetTest.newRepository() |
protected abstract Repository |
GraphQueryResultTest.newRepository() |
protected abstract Repository |
SparqlRegexTest.newRepository() |
protected abstract Repository |
EquivalentTest.newRepository() |
protected abstract Repository |
SparqlAggregatesTest.newRepository() |
protected abstract Repository |
CascadeValueExceptionTest.newRepository() |
protected abstract Repository |
SparqlOrderByTest.newRepository() |
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 Repository |
LocalRepositoryManager.createRepository(String id) |
protected Repository |
RemoteRepositoryManager.createRepository(String id)
Creates and initializes the repository with the specified ID.
|
protected abstract Repository |
RepositoryManager.createRepository(String id)
Creates and initializes the repository with the specified ID.
|
protected Repository |
RemoteRepositoryManager.createSystemRepository()
Deprecated.
|
protected Repository |
RepositoryManager.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 | Field and Description |
---|---|
protected Repository |
IsolationLevelTest.store |
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.
|
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()
Deprecated.
Returns the configured
RepositoryBloomFilter s (if any). |
protected List<Repository> |
Federation.getMembers()
Deprecated.
Returns the members of this federation.
|
Modifier and Type | Method and Description |
---|---|
void |
Federation.addMember(Repository member)
Deprecated.
|
void |
Federation.setBloomFilter(Repository member,
RepositoryBloomFilter filter)
Deprecated.
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)
Deprecated.
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Repository |
AbstractLuceneSailTest.repository |
protected Repository |
AbstractLuceneSailGeoSPARQLTest.repository |
protected Repository |
AbstractLuceneSailIndexedPropertiesTest.repository |
Modifier and Type | Field and Description |
---|---|
protected Repository |
AbstractSHACLTest.dataRep
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Repository |
AbstractSHACLTest.createRepository(Model shapesGraph)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSHACLTest.upload(Repository rep,
Model dataGraph)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryServlet.setRepository(Repository repository) |
Modifier and Type | Field and Description |
---|---|
protected Repository |
AbstractRepositoryServlet.repository |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRepositoryServlet.setRepository(Repository repository) |
Constructor and Description |
---|
WorkbenchRequest(Repository repository,
javax.servlet.http.HttpServletRequest request,
Map<String,String> defaults)
Wrap a request with an object aware of the current repository and application defaults.
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.