Class SailRepositoryFactory
- java.lang.Object
-
- org.eclipse.rdf4j.repository.sail.config.SailRepositoryFactory
-
- All Implemented Interfaces:
RepositoryFactory
public class SailRepositoryFactory extends Object implements RepositoryFactory
ARepositoryFactorythat createsSailRepositorys based on RDF configuration data.- Author:
- Arjohn Kampman
-
-
Field Summary
Fields Modifier and Type Field Description static StringREPOSITORY_TYPEThe type of repositories that are created by this factory.
-
Constructor Summary
Constructors Constructor Description SailRepositoryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryImplConfiggetConfig()RepositorygetRepository(RepositoryImplConfig config)StringgetRepositoryType()Returns the repository's type: openrdf:SailRepository.
-
-
-
Field Detail
-
REPOSITORY_TYPE
public static final String REPOSITORY_TYPE
The type of repositories that are created by this factory.
-
-
Method Detail
-
getRepositoryType
public String getRepositoryType()
Returns the repository's type: openrdf:SailRepository.- Specified by:
getRepositoryTypein interfaceRepositoryFactory
-
getConfig
public RepositoryImplConfig getConfig()
- Specified by:
getConfigin interfaceRepositoryFactory
-
getRepository
public Repository getRepository(RepositoryImplConfig config) throws RepositoryConfigException
- Specified by:
getRepositoryin interfaceRepositoryFactory- Throws:
RepositoryConfigException
-
-