public class AGVirtualRepository extends org.openrdf.repository.base.RepositoryBase implements AGAbstractRepository
Virtual repositories don't reside on disk (their component stores do); they don't have a catalog.
Applications normally create a virtual repository via an AGServer instance.
| Constructor and Description |
|---|
AGVirtualRepository(AGServer server,
String spec,
AGRepository wrapped)
Applications normally create a virtual repository via an AGServer instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Calls Sesame method
RepositoryBase.shutDown(). |
static String |
federatedSpec(String[] repoSpecs) |
static String |
filteredSpec(AGAbstractRepository repo,
org.openrdf.model.Resource[] contexts) |
static String |
filteredSpec(String repoSpec,
String[] graphs) |
AGCatalog |
getCatalog()
Virtual repositories don't reside on disk (their component stores do);
they don't have a catalog.
|
AGRepositoryConnection |
getConnection() |
AGRepositoryConnection |
getConnection(ScheduledExecutorService executor) |
File |
getDataDir()
Deprecated.
not applicable to AllegroGraph
|
AGServer |
getServer() |
String |
getSpec()
Gets the store specification used to create this virtual repository.
|
AGValueFactory |
getValueFactory() |
boolean |
isWritable() |
static String |
reasoningSpec(String repoSpec,
String reasoner) |
static String |
reasoningSpec(String repoSpec,
String reasoner,
org.openrdf.model.Resource inferredGraph) |
void |
setDataDir(File dataDir)
Deprecated.
not applicable to AllegroGraph
|
initialize, isInitialized, shutDownpublic AGVirtualRepository(AGServer server, String spec, AGRepository wrapped)
public AGServer getServer()
public AGCatalog getCatalog()
getCatalog in interface AGAbstractRepositorypublic String getSpec()
getSpec in interface AGAbstractRepositoryAGServer.virtualRepository(String)public boolean isWritable()
isWritable in interface org.openrdf.repository.Repositorypublic AGValueFactory getValueFactory()
getValueFactory in interface AGAbstractRepositorygetValueFactory in interface org.openrdf.repository.Repositorypublic AGRepositoryConnection getConnection(ScheduledExecutorService executor) throws org.openrdf.repository.RepositoryException
getConnection in interface AGAbstractRepositoryorg.openrdf.repository.RepositoryExceptionpublic AGRepositoryConnection getConnection() throws org.openrdf.repository.RepositoryException
getConnection in interface AGAbstractRepositorygetConnection in interface org.openrdf.repository.Repositoryorg.openrdf.repository.RepositoryExceptionpublic void close()
throws org.openrdf.repository.RepositoryException
RepositoryBase.shutDown().close in interface Closeableorg.openrdf.repository.RepositoryExceptionCloseable.close()public void setDataDir(File dataDir)
setDataDir in interface org.openrdf.repository.RepositoryUnsupportedOperationExceptionpublic File getDataDir()
getDataDir in interface org.openrdf.repository.RepositoryUnsupportedOperationExceptionpublic static String reasoningSpec(String repoSpec, String reasoner, org.openrdf.model.Resource inferredGraph)
public static String filteredSpec(AGAbstractRepository repo, org.openrdf.model.Resource[] contexts)