Class AGRepositoryFactory

java.lang.Object
com.franz.agraph.repository.config.AGRepositoryFactory
All Implemented Interfaces:
org.eclipse.rdf4j.repository.config.RepositoryFactory

public class AGRepositoryFactory extends Object implements org.eclipse.rdf4j.repository.config.RepositoryFactory
A RepositoryFactory that creates AGRepositorys based on RDF configuration data.
  • Field Details

    • REPOSITORY_TYPE

      public static final String REPOSITORY_TYPE
      The type of repositories that are created by this factory.
      See Also:
  • Constructor Details

    • AGRepositoryFactory

      public AGRepositoryFactory()
  • Method Details

    • getRepositoryType

      public String getRepositoryType()
      Returns the repository's type: allegrograph:AGRepository.
      Specified by:
      getRepositoryType in interface org.eclipse.rdf4j.repository.config.RepositoryFactory
    • getConfig

      public AGRepositoryConfig getConfig()
      Specified by:
      getConfig in interface org.eclipse.rdf4j.repository.config.RepositoryFactory
    • getRepository

      public org.eclipse.rdf4j.repository.Repository getRepository(org.eclipse.rdf4j.repository.config.RepositoryImplConfig config) throws org.eclipse.rdf4j.repository.config.RepositoryConfigException
      Specified by:
      getRepository in interface org.eclipse.rdf4j.repository.config.RepositoryFactory
      Throws:
      org.eclipse.rdf4j.repository.config.RepositoryConfigException