com.franz.agraph.repository
Class AGVirtualRepository
java.lang.Object
com.franz.agraph.repository.AGVirtualRepository
- All Implemented Interfaces:
- AGAbstractRepository, Closeable, Repository
public class AGVirtualRepository
- extends Object
- implements AGAbstractRepository, Closeable
AGVirtualRepository
public AGVirtualRepository(AGServer server,
String spec,
AGRepository wrapped)
getServer
public AGServer getServer()
getCatalog
public AGCatalog getCatalog()
- Specified by:
getCatalog
in interface AGAbstractRepository
getSpec
public String getSpec()
- Specified by:
getSpec
in interface AGAbstractRepository
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interface Repository
getValueFactory
public AGValueFactory getValueFactory()
- Specified by:
getValueFactory
in interface AGAbstractRepository
- Specified by:
getValueFactory
in interface Repository
getConnection
public AGRepositoryConnection getConnection()
throws RepositoryException
- Specified by:
getConnection
in interface AGAbstractRepository
- Specified by:
getConnection
in interface Repository
- Throws:
RepositoryException
close
public void close()
throws RepositoryException
- Specified by:
close
in interface Closeable
- Throws:
RepositoryException
initialize
public void initialize()
- Specified by:
initialize
in interface Repository
shutDown
public void shutDown()
throws RepositoryException
- Specified by:
shutDown
in interface Repository
- Throws:
RepositoryException
setDataDir
public void setDataDir(File dataDir)
- Specified by:
setDataDir
in interface Repository
getDataDir
public File getDataDir()
- Specified by:
getDataDir
in interface Repository
federatedSpec
public static String federatedSpec(String[] repoSpecs)
reasoningSpec
public static String reasoningSpec(String repoSpec,
String reasoner)
reasoningSpec
public static String reasoningSpec(String repoSpec,
String reasoner,
Resource inferredGraph)
filteredSpec
public static String filteredSpec(AGAbstractRepository repo,
Resource[] contexts)
filteredSpec
public static String filteredSpec(String repoSpec,
String[] graphs)