public abstract static class NativeRepositoryService.NativeRepositoryMixin extends Object implements NativeRepositoryService, ResetableRepository
NativeRepositoryService.Activator, NativeRepositoryService.NativeRepositoryMixin| Constructor and Description |
|---|
NativeRepositoryMixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
discardEntireRepository() |
org.openrdf.repository.RepositoryConnection |
getConnection() |
File |
getDataDir() |
org.openrdf.model.ValueFactory |
getValueFactory() |
void |
initialize() |
boolean |
isAvailable()
Implementations should return true if the underlying service is currently available for use.
|
boolean |
isInitialized() |
boolean |
isWritable() |
void |
setDataDir(File dataDir) |
void |
shutDown() |
public void setDataDir(File dataDir)
setDataDir in interface org.openrdf.repository.Repositorypublic File getDataDir()
getDataDir in interface org.openrdf.repository.Repositorypublic void initialize()
throws org.openrdf.repository.RepositoryException
initialize in interface NativeRepositoryServiceinitialize in interface org.openrdf.repository.Repositoryorg.openrdf.repository.RepositoryExceptionpublic boolean isInitialized()
isInitialized in interface org.openrdf.repository.Repositorypublic void shutDown()
throws org.openrdf.repository.RepositoryException
shutDown in interface NativeRepositoryServiceshutDown in interface org.openrdf.repository.Repositoryorg.openrdf.repository.RepositoryExceptionpublic boolean isWritable()
throws org.openrdf.repository.RepositoryException
isWritable in interface org.openrdf.repository.Repositoryorg.openrdf.repository.RepositoryExceptionpublic org.openrdf.repository.RepositoryConnection getConnection()
throws org.openrdf.repository.RepositoryException
getConnection in interface org.openrdf.repository.Repositoryorg.openrdf.repository.RepositoryExceptionpublic org.openrdf.model.ValueFactory getValueFactory()
getValueFactory in interface org.openrdf.repository.Repositorypublic void discardEntireRepository()
throws org.openrdf.repository.RepositoryException
discardEntireRepository in interface ResetableRepositoryorg.openrdf.repository.RepositoryExceptionpublic boolean isAvailable()
AvailabilityisAvailable in interface Availability