# Package org.eclipse.rdf4j.repository

The Repository API: the main API for accessing rdf databases and SPARQL endpoints. The class `Repository` is the main interface for rdf4j repositories. It provides all sorts of operations for manipulating RDF in various ways, through a `RepositoryConnection`. An important notion in a rdf4j repository is that of context . Within one repository, subsets of statements can be identified by their context.

See Also:
  rdf4j repository API documentation

- Interface Summary
  Interface | Description
  --- | ---
  DelegatingRepository | Main interface for repositories that wrap another repository.
  DelegatingRepositoryConnection |
  Repository | An RDF4J repository that contains RDF data that can be queried and updated.
  RepositoryConnection | Main interface for updating data in and performing queries on an RDF4J `Repository`.
  RepositoryResolver | Gets local repositories using a simple identifier string.
  RepositoryResolverClient | Interface used by factory classes that need access to other repositories by their id's.

- Class Summary
  Class | Description
  --- | ---
  RepositoryResult<T> | A RepositoryResult is a result collection of objects (for example `Statement` , `Namespace`, or `Resource` objects) that can be iterated over.

- Exception Summary
  Exception | Description
  --- | ---
  RepositoryException | An exception thrown by classes from the Repository API to indicate an error.
  RepositoryLockedException | Indicates that a Repository cannot be initialised because the configured persisted location is locked.
  RepositoryReadOnlyException | Indicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read from.
  UnknownTransactionStateException | A specific subtype of `RepositoryException` that indicates the connection's transaction state can not be determined.