public abstract static class NativeRepositoryService.NativeRepositoryMixin extends Object implements NativeRepositoryService, ResetableRepository
NativeRepositoryService.Activator, NativeRepositoryService.NativeRepositoryMixin
Identity.IdentityMixin
Constructor and Description |
---|
NativeRepositoryService.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 NativeRepositoryService.NativeRepositoryMixin()
public void setDataDir(File dataDir)
setDataDir
in interface org.openrdf.repository.Repository
public File getDataDir()
getDataDir
in interface org.openrdf.repository.Repository
public void initialize() throws org.openrdf.repository.RepositoryException
initialize
in interface org.openrdf.repository.Repository
initialize
in interface NativeRepositoryService
org.openrdf.repository.RepositoryException
public boolean isInitialized()
isInitialized
in interface org.openrdf.repository.Repository
public void shutDown() throws org.openrdf.repository.RepositoryException
shutDown
in interface org.openrdf.repository.Repository
shutDown
in interface NativeRepositoryService
org.openrdf.repository.RepositoryException
public boolean isWritable() throws org.openrdf.repository.RepositoryException
isWritable
in interface org.openrdf.repository.Repository
org.openrdf.repository.RepositoryException
public org.openrdf.repository.RepositoryConnection getConnection() throws org.openrdf.repository.RepositoryException
getConnection
in interface org.openrdf.repository.Repository
org.openrdf.repository.RepositoryException
public org.openrdf.model.ValueFactory getValueFactory()
getValueFactory
in interface org.openrdf.repository.Repository
public void discardEntireRepository() throws org.openrdf.repository.RepositoryException
discardEntireRepository
in interface ResetableRepository
org.openrdf.repository.RepositoryException
public boolean isAvailable()
Availability
isAvailable
in interface Availability