Uses of Interface
org.eclipse.rdf4j.repository.Repository
Package
Description
A command line console tool for querying and updating local or remote RDF4J repositories.
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
Abstract base classes and wrappers for the main Repository API interfaces.
Repository configuration interfaces.
A repository wrapper with convenience functions for handling contexts.
A repository wrapper which supports auto-loading of datasets specified in a query.
Interfaces for notification/interception of events happening on Repositories and RepositoryConnections
Wrapper/adapter base implementations.
A repository that serves as a proxy client for a remote repository on an RDF4J Server.
Functionality for Repository lifecycle management and sharing.
Repository implementation for local RDF databases that implement the SAIL SPI.
A
Repository
that serves as a SPARQL endpoint client.Helper classes for working with Repositories.
Forward-chaining inferencers, implemented as
StackableSail
s.Rdf4J-Spring Tx
A SPARQL test suite for RDF4J repositories
-
Uses of Repository in org.eclipse.rdf4j.console
Modifier and TypeMethodDescriptionstatic Resource
Util.getContext
(Repository repository, String ctxID) Get context IRI from string representationstatic 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 repositorystatic boolean
LockRemover.tryToRemoveLock
(Repository repo, ConsoleIO consoleIO) Try to remove lock from repository -
Uses of Repository in org.eclipse.rdf4j.federated.endpoint
Modifier and TypeMethodDescriptionEndpoint.getRepository()
RepositoryEndpoint.getRepository()
ResolvableEndpoint.getRepository()
Modifier and TypeMethodDescriptionstatic Endpoint
EndpointFactory.loadEndpoint
(String id, Repository repository) Load anEndpoint
for a given (configured) Repository.ModifierConstructorDescriptionManagedRepositoryConnection
(Repository repository, RepositoryConnection delegate) ManagedRepositoryEndpoint
(RepositoryInformation repoInfo, String endpoint, EndpointClassification endpointClassification, Repository repo) RepositoryEndpoint
(RepositoryInformation repoInfo, String endpoint, EndpointClassification endpointClassification, Repository repository) -
Uses of Repository in org.eclipse.rdf4j.federated.endpoint.provider
Modifier and TypeFieldDescriptionprotected final Repository
RepositoryEndpointProvider.repository
-
Uses of Repository in org.eclipse.rdf4j.federated.repository
Modifier and TypeClassDescriptionclass
A specialSailRepository
which performs the actions as defined inFedXRepositoryConnection
.class
Wrapper for theFedXRepository
in order to allow for lazy initialization.Modifier and TypeMethodDescriptionFedXRepositoryFactory.getRepository
(RepositoryImplConfig config) -
Uses of Repository in org.eclipse.rdf4j.federated.write
-
Uses of Repository in org.eclipse.rdf4j.http.server.readonly
-
Uses of Repository in org.eclipse.rdf4j.http.server.readonly.sparql
Modifier and TypeMethodDescriptionvoid
SparqlQueryEvaluator.evaluate
(EvaluateResult result, Repository repository, String query, String acceptHeader, String[] defaultGraphUri, String[] namedGraphUris) Evaluates/Execute the passed query against the passed repository usimg the passed arguments. -
Uses of Repository in org.eclipse.rdf4j.http.server.repository
Modifier and TypeClassDescriptionclass
Modifier and TypeMethodDescriptionstatic Repository
RepositoryInterceptor.getRepository
(javax.servlet.http.HttpServletRequest request) -
Uses of Repository in org.eclipse.rdf4j.http.server.repository.resolver
Modifier and TypeMethodDescriptionDefaultRepositoryResolver.getRepository
(javax.servlet.http.HttpServletRequest request) RepositoryResolver.getRepository
(javax.servlet.http.HttpServletRequest request) Modifier and TypeMethodDescriptionDefaultRepositoryResolver.getRepositoryConnection
(javax.servlet.http.HttpServletRequest request, Repository repository) RepositoryResolver.getRepositoryConnection
(javax.servlet.http.HttpServletRequest request, Repository repository) -
Uses of Repository in org.eclipse.rdf4j.repository
Modifier and TypeInterfaceDescriptioninterface
Main interface for repositories that wrap another repository.Modifier and TypeMethodDescriptionDelegatingRepository.getDelegate()
RepositoryConnection.getRepository()
Returns the Repository object to which this connection belongs.RepositoryResolver.getRepository
(String memberID) -
Uses of Repository in org.eclipse.rdf4j.repository.base
Modifier and TypeClassDescriptionclass
Base class forRepository
implementation, offering common functionality.class
ADelegatingRepository
implementation that, by default, forwards all method calls to its delegate.Modifier and TypeMethodDescriptionRepositoryWrapper.getDelegate()
AbstractRepositoryConnection.getRepository()
ModifierConstructorDescriptionprotected
AbstractRepositoryConnection
(Repository repository) RepositoryConnectionWrapper
(Repository repository) RepositoryConnectionWrapper
(Repository repository, RepositoryConnection delegate) RepositoryWrapper
(Repository delegate) Creates a new RepositoryWrapper and callsRepositoryWrapper.setDelegate(Repository)
with the supplied delegate repository. -
Uses of Repository in org.eclipse.rdf4j.repository.config
Modifier and TypeMethodDescriptionRepositoryFactory.getRepository
(RepositoryImplConfig config) Returns a Repository instance that has been initialized using the supplied configuration data.Modifier and TypeMethodDescriptionstatic RepositoryConfig
RepositoryConfigUtil.getRepositoryConfig
(Repository repository, String repositoryID) Deprecated.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. -
Uses of Repository in org.eclipse.rdf4j.repository.contextaware
Modifier and TypeClassDescriptionclass
Allows contexts to be specified at the repository level.ModifierConstructorDescriptionContextAwareConnection
(Repository repository) ContextAwareConnection
(Repository repository, RepositoryConnection connection) ContextAwareRepository
(Repository delegate) -
Uses of Repository in org.eclipse.rdf4j.repository.contextaware.config
Modifier and TypeMethodDescriptionContextAwareFactory.getRepository
(RepositoryImplConfig configuration) -
Uses of Repository in org.eclipse.rdf4j.repository.dataset
Modifier and TypeClassDescriptionclass
A repository that automatically attempts to load the dataset supplied in a (SPARQL) query (using FROM and FROM NAMED clauses). -
Uses of Repository in org.eclipse.rdf4j.repository.dataset.config
Modifier and TypeMethodDescriptionDatasetRepositoryFactory.getRepository
(RepositoryImplConfig config) -
Uses of Repository in org.eclipse.rdf4j.repository.event
Modifier and TypeInterfaceDescriptioninterface
interface
Modifier and TypeMethodDescriptionboolean
RepositoryInterceptor.getConnection
(Repository repo, RepositoryConnection conn) boolean
RepositoryInterceptor.init
(Repository repo) boolean
RepositoryInterceptor.setDataDir
(Repository repo, File dataDir) boolean
RepositoryInterceptor.shutDown
(Repository repo) -
Uses of Repository in org.eclipse.rdf4j.repository.event.base
Modifier and TypeClassDescriptionclass
Wrapper that notifies interceptors of events on Repositories before they happen.class
This notifying decorator allows listeners to register with the repository or connection and be notified when events occur.ModifierConstructorDescriptionInterceptingRepositoryConnectionWrapper
(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) -
Uses of Repository in org.eclipse.rdf4j.repository.http
Modifier and TypeClassDescriptionclass
A repository that serves as a client for a remote repository on an RDF4J Server. -
Uses of Repository in org.eclipse.rdf4j.repository.http.config
Modifier and TypeMethodDescriptionHTTPRepositoryFactory.getRepository
(RepositoryImplConfig config) -
Uses of Repository in org.eclipse.rdf4j.repository.manager
Modifier and TypeFieldDescriptionprotected Map<String,
Repository> RepositoryManager.initializedRepositories
Modifier and TypeMethodDescriptionprotected 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.RepositoryManager.getRepository
(String identity) Gets the repository that is known by the specified ID from this manager.static Repository
RepositoryProvider.getRepository
(String url) Retrieves a (new or existing) Repository object for the supplied repository URL.Modifier and TypeMethodDescriptionRepositoryManager.getAllRepositories()
Returns all configured repositories.RepositoryManager.getInitializedRepositories()
Returns all initialized repositories.Modifier and TypeMethodDescriptionprotected void
RepositoryManager.setInitializedRepositories
(Map<String, Repository> nextInitializedRepositories) ModifierConstructorDescriptionprotected
RepositoryManager
(Map<String, Repository> initializedRepositories) Create a new RepositoryManager using the given map to store repository information. -
Uses of Repository in org.eclipse.rdf4j.repository.manager.util
Modifier and TypeMethodDescriptionprotected Repository
TypeFilteringRepositoryManager.createRepository
(String id) TypeFilteringRepositoryManager.getRepository
(String id) -
Uses of Repository in org.eclipse.rdf4j.repository.sail
Modifier and TypeClassDescriptionclass
Repository
implementation that takes aRepositoryResolver
instance and the id of a managed repository, and delegate all calls through to the given repository.class
An implementation of theRepository
interface that operates on a (stack of)Sail
object(s). -
Uses of Repository in org.eclipse.rdf4j.repository.sail.config
Modifier and TypeMethodDescriptionProxyRepositoryFactory.getRepository
(RepositoryImplConfig config) RepositoryResolver.getRepository
(String memberID) Deprecated.SailRepositoryFactory.getRepository
(RepositoryImplConfig config) -
Uses of Repository in org.eclipse.rdf4j.repository.sparql
Modifier and TypeClassDescriptionclass
A proxy class to access any SPARQL 1.1 endpoint. -
Uses of Repository in org.eclipse.rdf4j.repository.sparql.federation
-
Uses of Repository in org.eclipse.rdf4j.repository.util
Modifier and TypeMethodDescriptionstatic void
Repositories.consume
(Repository repository, Consumer<RepositoryConnection> processFunction) Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenConsumer
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static void
Repositories.consume
(Repository repository, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler) Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenConsumer
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static void
Repositories.consumeNoTransaction
(Repository repository, Consumer<RepositoryConnection> processFunction) Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenConsumer
.static void
Repositories.consumeNoTransaction
(Repository repository, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler) Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenConsumer
.static void
Repositories.consumeSilent
(Repository repository, Consumer<RepositoryConnection> processFunction) Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenConsumer
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static void
Repositories.consumeSilentNoTransaction
(Repository repository, Consumer<RepositoryConnection> processFunction) Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenConsumer
.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, Function<RepositoryConnection, T> processFunction) Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenFunction
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> T
Repositories.get
(Repository repository, Function<RepositoryConnection, T> processFunction, Consumer<RepositoryException> exceptionHandler) Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenFunction
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> T
Repositories.getNoTransaction
(Repository repository, Function<RepositoryConnection, T> processFunction) Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.static <T> T
Repositories.getNoTransaction
(Repository repository, Function<RepositoryConnection, T> processFunction, Consumer<RepositoryException> exceptionHandler) Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.static <T> T
Repositories.getSilent
(Repository repository, Function<RepositoryConnection, T> processFunction) Opens aRepositoryConnection
to the given Repository within a transaction, sends the connection to the givenFunction
, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> T
Repositories.getSilentNoTransaction
(Repository repository, Function<RepositoryConnection, T> processFunction) Opens aRepositoryConnection
to the given Repository without opening a transaction, sends the connection to the givenFunction
.static <T> T
Repositories.graphQuery
(Repository repository, String query, Function<GraphQueryResult, T> processFunction) Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes the results to the givenFunction
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 givenRDFHandler
.static <T> T
Repositories.graphQueryNoTransaction
(Repository repository, String query, 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 givenFunction
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 givenRDFHandler
.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, Function<TupleQueryResult, T> processFunction) Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the givenFunction
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 givenTupleQueryResultHandler
.static <T> T
Repositories.tupleQueryNoTransaction
(Repository repository, String query, Function<TupleQueryResult, T> processFunction) Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the givenFunction
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 givenTupleQueryResultHandler
. -
Uses of Repository in org.eclipse.rdf4j.sail.inferencer.fc
ModifierConstructorDescriptionSchemaCachingRDFSInferencer
(NotifyingSail data, Repository predefinedSchema) Instantiate a SchemaCachingRDFSInferencer with a predefined schema.SchemaCachingRDFSInferencer
(NotifyingSail data, Repository predefinedSchema, boolean useAllRdfsRules) Instantiate a SchemaCachingRDFSInferencer with a predefined schema. -
Uses of Repository in org.eclipse.rdf4j.spring.repository.inmemory
Modifier and TypeMethodDescriptionInMemoryRepositoryConfig.getInMemoryRepository
(InMemoryRepositoryProperties repositoryProperties) -
Uses of Repository in org.eclipse.rdf4j.spring.repository.remote
Modifier and TypeMethodDescriptionRemoteRepositoryConfig.getRemoteRepository
(RemoteRepositoryProperties repositoryProperties) -
Uses of Repository in org.eclipse.rdf4j.spring.support.connectionfactory
-
Uses of Repository in org.eclipse.rdf4j.spring.tx
ModifierConstructorDescriptionTransactionalRepositoryConnection
(Repository repository) TransactionalRepositoryConnection
(Repository repository, RepositoryConnection delegate) -
Uses of Repository in org.eclipse.rdf4j.testsuite.query.parser.sparql
Modifier and TypeMethodDescriptionprotected Repository
SPARQLUpdateTest.createRepository()
Creates, initializes and clears a repository.protected abstract Repository
SPARQLUpdateTest.newRepository()
Create a new Repository object. -
Uses of Repository in org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest
Modifier and TypeFieldDescriptionprotected Repository
SPARQLQueryTest.dataRep
Deprecated.protected Repository
SPARQLUpdateConformanceTest.dataRep
Deprecated.protected Repository
SPARQL11UpdateComplianceTest.expectedResultRepo
protected Repository
SPARQLUpdateConformanceTest.expectedResultRepo
Deprecated.Modifier and TypeMethodDescriptionprotected final Repository
SPARQLQueryTest.createRepository()
Deprecated.protected Repository
SPARQLUpdateConformanceTest.createRepository()
Deprecated.protected Repository
SPARQL11SyntaxComplianceTest.getDataRepository()
protected Repository
SPARQL11UpdateComplianceTest.getDataRepository()
protected abstract Repository
SPARQLComplianceTest.getDataRepository()
protected Repository
SPARQLQueryComplianceTest.getDataRepository()
protected abstract Repository
SPARQL11UpdateComplianceTest.newRepository()
protected abstract Repository
SPARQLQueryComplianceTest.newRepository()
protected abstract Repository
SPARQLQueryTest.newRepository()
Deprecated.protected abstract Repository
SPARQLUpdateConformanceTest.newRepository()
Deprecated.Modifier and TypeMethodDescriptionprotected static String
SPARQLQueryTest.getManifestName
(Repository manifestRep, RepositoryConnection con, String manifestFileURL) Deprecated.protected static String
SPARQLUpdateConformanceTest.getManifestName
(Repository manifestRep, RepositoryConnection con, String manifestFileURL) Deprecated. -
Uses of Repository in org.eclipse.rdf4j.testsuite.repository
Modifier and TypeFieldDescriptionprotected Repository
RepositoryConnectionTest.testRepository
protected Repository
RepositoryTest.testRepository
Modifier and TypeMethodDescriptionprotected Repository
CascadeValueExceptionTest.createRepository()
protected Repository
GraphQueryResultTest.createRepository()
protected abstract Repository
RDFStarSupportTest.createRepository()
protected abstract Repository
RepositoryConnectionTest.createRepository
(File dataDir) Gets an (uninitialized) instance of the repository that should be tested.protected abstract Repository
RepositoryTest.createRepository()
Gets an (uninitialized) instance of the repository that should be tested.protected Repository
SparqlAggregatesTest.createRepository()
protected Repository
SparqlDatasetTest.createRepository()
protected Repository
SparqlOrderByTest.createRepository()
protected Repository
SparqlRegexTest.createRepository()
protected Repository
SparqlSetBindingTest.createRepository()
protected Repository
TupleQueryResultTest.createRepository()
static Repository
OptimisticIsolationTest.getEmptyInitializedRepository
(Class<?> caller) protected abstract Repository
CascadeValueExceptionTest.newRepository()
protected abstract Repository
GraphQueryResultTest.newRepository()
protected abstract Repository
SparqlAggregatesTest.newRepository()
protected abstract Repository
SparqlDatasetTest.newRepository()
protected abstract Repository
SparqlOrderByTest.newRepository()
protected abstract Repository
SparqlRegexTest.newRepository()
protected abstract Repository
SparqlSetBindingTest.newRepository()
protected abstract Repository
TupleQueryResultTest.newRepository()
-
Uses of Repository in org.eclipse.rdf4j.testsuite.repository.optimistic
-
Uses of Repository in org.eclipse.rdf4j.testsuite.shacl.manifest
Modifier and TypeMethodDescriptionprotected Repository
AbstractSHACLTest.createRepository
(Model shapesGraph) Deprecated.Modifier and TypeMethodDescriptionprotected void
AbstractSHACLTest.upload
(Repository rep, Model dataGraph) Deprecated. -
Uses of Repository in org.eclipse.rdf4j.testsuite.sparql
Modifier and TypeMethodDescriptionstatic Repository
RepositorySPARQLComplianceTestSuite.getEmptyInitializedRepository
(Class<?> caller) -
Uses of Repository in org.eclipse.rdf4j.workbench
-
Uses of Repository in org.eclipse.rdf4j.workbench.base
Modifier and TypeMethodDescriptionvoid
AbstractRepositoryServlet.setRepository
(Repository repository) -
Uses of Repository in org.eclipse.rdf4j.workbench.util
ModifierConstructorDescriptionWorkbenchRequest
(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. -
Uses of Repository in org.eclipse.testsuite.rdf4j.sail.lucene
Modifier and TypeFieldDescriptionprotected Repository
AbstractLuceneSailGeoSPARQLTest.repository
protected Repository
AbstractLuceneSailIndexedPropertiesTest.repository
protected Repository
AbstractLuceneSailTest.repository