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