public class SailRepositoryFactory extends Object implements RepositoryFactory
RepositoryFactory
that creates SailRepository
s based on RDF configuration data.Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_TYPE
The type of repositories that are created by this factory.
|
Constructor and Description |
---|
SailRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
RepositoryImplConfig |
getConfig() |
Repository |
getRepository(RepositoryImplConfig config)
Returns a Repository instance that has been initialized using the supplied configuration data.
|
String |
getRepositoryType()
Returns the repository's type: openrdf:SailRepository.
|
public static final String REPOSITORY_TYPE
public String getRepositoryType()
getRepositoryType
in interface RepositoryFactory
public RepositoryImplConfig getConfig()
getConfig
in interface RepositoryFactory
public Repository getRepository(RepositoryImplConfig config) throws RepositoryConfigException
RepositoryFactory
getRepository
in interface RepositoryFactory
config
- TODORepositoryConfigException
- If no repository could be created due to invalid or incomplete configuration
data.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.