|
Franz Inc, AllegroGraph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openrdf.repository.base.RepositoryBase com.franz.agraph.repository.AGVirtualRepository
public class AGVirtualRepository
A class for virtual repositories, used for working with federations, graph-filtered stores, reasoning stores, and compositions thereof.
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.
AGServer.virtualRepository(String)
,
AGServer.federate(AGAbstractRepository...)
Constructor Summary | |
---|---|
AGVirtualRepository(AGServer server,
String spec,
AGRepository wrapped)
Applications normally create a virtual repository via an AGServer instance. |
Method Summary | |
---|---|
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()
|
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 |
Methods inherited from class org.openrdf.repository.base.RepositoryBase |
---|
initialize, isInitialized, shutDown |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openrdf.repository.Repository |
---|
initialize, isInitialized, shutDown |
Constructor Detail |
---|
public AGVirtualRepository(AGServer server, String spec, AGRepository wrapped)
AGServer.virtualRepository(String)
,
AGServer.federate(AGAbstractRepository...)
Method Detail |
---|
public AGServer getServer()
public AGCatalog getCatalog()
getCatalog
in interface AGAbstractRepository
public String getSpec()
getSpec
in interface AGAbstractRepository
AGServer.virtualRepository(String)
public boolean isWritable()
isWritable
in interface org.openrdf.repository.Repository
public AGValueFactory getValueFactory()
getValueFactory
in interface AGAbstractRepository
getValueFactory
in interface org.openrdf.repository.Repository
public AGRepositoryConnection getConnection() throws org.openrdf.repository.RepositoryException
getConnection
in interface AGAbstractRepository
getConnection
in interface org.openrdf.repository.Repository
org.openrdf.repository.RepositoryException
public void close() throws org.openrdf.repository.RepositoryException
RepositoryBase.shutDown()
.
close
in interface Closeable
org.openrdf.repository.RepositoryException
Closeable.close()
public void setDataDir(File dataDir)
setDataDir
in interface org.openrdf.repository.Repository
UnsupportedOperationException
public File getDataDir()
getDataDir
in interface org.openrdf.repository.Repository
UnsupportedOperationException
public static String federatedSpec(String[] repoSpecs)
public static String reasoningSpec(String repoSpec, String reasoner)
public static String reasoningSpec(String repoSpec, String reasoner, org.openrdf.model.Resource inferredGraph)
public static String filteredSpec(AGAbstractRepository repo, org.openrdf.model.Resource[] contexts)
public static String filteredSpec(String repoSpec, String[] graphs)
|
Copyright © 2008-2012 Franz Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |