Class RepositoryConfigRepository

  • All Implemented Interfaces:
    org.eclipse.rdf4j.repository.Repository

    public class RepositoryConfigRepository
    extends org.eclipse.rdf4j.repository.base.AbstractRepository
    Repository implementation that saves RepositoryConfig RDF to a RepositoryManager.
    Author:
    James Leigh
    • Field Detail

      • ID

        public static final String ID
        The repository identifier for the system repository that contains the configuration data.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RepositoryConfigRepository

        public RepositoryConfigRepository​(org.eclipse.rdf4j.repository.manager.RepositoryManager manager)
    • Method Detail

      • setDataDir

        public void setDataDir​(File dataDir)
      • getDataDir

        public File getDataDir()
      • isWritable

        public boolean isWritable()
                           throws org.eclipse.rdf4j.repository.RepositoryException
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException
      • getValueFactory

        public org.eclipse.rdf4j.model.ValueFactory getValueFactory()
      • initializeInternal

        protected void initializeInternal()
                                   throws org.eclipse.rdf4j.repository.RepositoryException
        Specified by:
        initializeInternal in class org.eclipse.rdf4j.repository.base.AbstractRepository
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException
      • shutDownInternal

        protected void shutDownInternal()
                                 throws org.eclipse.rdf4j.repository.RepositoryException
        Specified by:
        shutDownInternal in class org.eclipse.rdf4j.repository.base.AbstractRepository
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException
      • getConnection

        public org.eclipse.rdf4j.repository.RepositoryConnection getConnection()
                                                                        throws org.eclipse.rdf4j.repository.RepositoryException
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException