Franz Inc, AllegroGraph

com.franz.agraph.repository
Class AGVirtualRepository

java.lang.Object
  extended by com.franz.agraph.repository.AGVirtualRepository
All Implemented Interfaces:
AGAbstractRepository, Closeable, Repository

public class AGVirtualRepository
extends Object
implements AGAbstractRepository, Closeable


Constructor Summary
AGVirtualRepository(AGServer server, String spec, AGRepository wrapped)
           
 
Method Summary
 void close()
           
static String federatedSpec(String[] repoSpecs)
           
static String filteredSpec(AGAbstractRepository repo, Resource[] contexts)
           
static String filteredSpec(String repoSpec, String[] graphs)
           
 AGCatalog getCatalog()
           
 AGRepositoryConnection getConnection()
           
 File getDataDir()
           
 AGServer getServer()
           
 String getSpec()
           
 AGValueFactory getValueFactory()
           
 void initialize()
           
 boolean isWritable()
           
static String reasoningSpec(String repoSpec, String reasoner)
           
static String reasoningSpec(String repoSpec, String reasoner, Resource inferredGraph)
           
 void setDataDir(File dataDir)
           
 void shutDown()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGVirtualRepository

public AGVirtualRepository(AGServer server,
                           String spec,
                           AGRepository wrapped)
Method Detail

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)

Copyright © 2008-2010 Franz Inc.