|
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.AGRepository
public class AGRepository
Implements the Sesame Repository interface for AllegroGraph.
Constructor Summary | |
---|---|
AGRepository(AGCatalog catalog,
String repositoryID)
Creates an AGRepository instance for a repository having the given repository id in the given catalog. |
Method Summary | |
---|---|
void |
close()
|
AGCatalog |
getCatalog()
Gets the catalog to which this repository belongs. |
String |
getCatalogPrefixedRepositoryID()
|
AGRepositoryConnection |
getConnection()
|
File |
getDataDir()
The dataDir is not currently applicable to AllegroGraph. |
com.franz.agraph.http.AGHTTPClient |
getHTTPClient()
|
String |
getRepositoryID()
Gets the repository id for this repository. |
String |
getRepositoryURL()
Gets the URL of this repository. |
String |
getSpec()
|
AGValueFactory |
getValueFactory()
|
void |
initialize()
|
boolean |
isBulkMode()
Returns the repository's bulkMode setting. |
boolean |
isWritable()
Returns true iff this repository is writable. |
void |
setBulkMode(boolean bulkMode)
Sets the repository's bulkMode (defaults to false). |
void |
setDataDir(File dataDir)
The dataDir is not currently applicable to AllegroGraph. |
void |
shutDown()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AGRepository(AGCatalog catalog, String repositoryID)
Method Detail |
---|
public AGCatalog getCatalog()
getCatalog
in interface AGAbstractRepository
public String getRepositoryID()
public String getCatalogPrefixedRepositoryID()
public String getRepositoryURL()
public AGValueFactory getValueFactory()
getValueFactory
in interface AGAbstractRepository
getValueFactory
in interface Repository
public com.franz.agraph.http.AGHTTPClient getHTTPClient()
public void initialize() throws RepositoryException
initialize
in interface Repository
RepositoryException
public AGRepositoryConnection getConnection() throws RepositoryException
getConnection
in interface AGAbstractRepository
getConnection
in interface Repository
RepositoryException
public File getDataDir()
getDataDir
in interface Repository
public boolean isWritable() throws RepositoryException
isWritable
in interface Repository
RepositoryException
public String getSpec()
getSpec
in interface AGAbstractRepository
public void setDataDir(File dataDir)
setDataDir
in interface Repository
public void shutDown() throws RepositoryException
shutDown
in interface Repository
RepositoryException
public void close() throws RepositoryException
close
in interface Closeable
RepositoryException
public void setBulkMode(boolean bulkMode) throws RepositoryException
bulkMode
- a boolean indicating the bulkMode.
RepositoryException
isBulkMode()
public boolean isBulkMode() throws RepositoryException
RepositoryException
setBulkMode(boolean)
|
Copyright © 2008-2010 Franz Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |