public class DatasetRepositoryFactory extends Object implements RepositoryFactory
RepositoryFactory
that creates DatasetRepository
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 |
---|
DatasetRepositoryFactory() |
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:DatasetRepository.
|
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.