|
Franz Inc, AllegroGraph | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 shutDown(). |
static String |
federatedSpec(String[] repoSpecs)
|
static String |
filteredSpec(AGAbstractRepository repo,
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()
|
void |
initialize()
Required by OpenRDF/Sesame, a repository must be initialized before use. |
boolean |
isWritable()
|
static String |
reasoningSpec(String repoSpec,
String reasoner)
|
static String |
reasoningSpec(String repoSpec,
String reasoner,
Resource inferredGraph)
|
void |
setDataDir(File dataDir)
Deprecated. not applicable to AllegroGraph |
void |
shutDown()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 AGAbstractRepositorypublic String getSpec()
getSpec in interface AGAbstractRepositoryAGServer.virtualRepository(String)public boolean isWritable()
isWritable in interface Repositorypublic AGValueFactory getValueFactory()
getValueFactory in interface AGAbstractRepositorygetValueFactory in interface Repository
public AGRepositoryConnection getConnection()
throws RepositoryException
getConnection in interface AGAbstractRepositorygetConnection in interface RepositoryRepositoryException
public void close()
throws RepositoryException
shutDown().
close in interface CloseableRepositoryExceptionCloseable.close()public void initialize()
initialize in interface Repository
public void shutDown()
throws RepositoryException
shutDown in interface RepositoryRepositoryExceptionpublic void setDataDir(File dataDir)
setDataDir in interface RepositoryUnsupportedOperationExceptionpublic File getDataDir()
getDataDir in interface RepositoryUnsupportedOperationExceptionpublic static String federatedSpec(String[] repoSpecs)
public static String reasoningSpec(String repoSpec,
String reasoner)
public static String reasoningSpec(String repoSpec,
String reasoner,
Resource inferredGraph)
public static String filteredSpec(AGAbstractRepository repo,
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 | |||||||||