public class SPARQLRepositoryFactory extends Object implements RepositoryFactory
SPARQLRepository
from a configuration.Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_TYPE |
Constructor and Description |
---|
SPARQLRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
RepositoryImplConfig |
getConfig() |
SPARQLRepository |
getRepository(RepositoryImplConfig config)
Returns a Repository instance that has been initialized using the supplied configuration data.
|
String |
getRepositoryType()
Returns the type of the repositories that this factory creates.
|
public static final String REPOSITORY_TYPE
public String getRepositoryType()
RepositoryFactory
getRepositoryType
in interface RepositoryFactory
public RepositoryImplConfig getConfig()
getConfig
in interface RepositoryFactory
public SPARQLRepository 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-2019 Eclipse Foundation. All Rights Reserved.