|
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.AGServer
public class AGServer
The top-level class for interacting with an AllegroGraph server.
Constructor Summary | |
---|---|
AGServer(String serverURL,
String username,
String password)
Creates an AGServer instance for interacting with an AllegroGraph server at serverURL. |
Method Summary | |
---|---|
void |
close()
|
AGVirtualRepository |
federate(AGAbstractRepository... repositories)
|
String |
getBuildDate()
Returns the server's build date. |
AGCatalog |
getCatalog()
Returns the unnamed root catalog for this AllegroGraph server. |
AGCatalog |
getCatalog(String catalogID)
Gets the catalog instance for a given catalog id. |
String |
getRevision()
Returns the server's revision info. |
AGCatalog |
getRootCatalog()
Returns the unnamed root catalog for this AllegroGraph server. |
String |
getServerURL()
Returns the URL of this AllegroGraph server. |
String |
getVersion()
Returns the server version. |
List<String> |
listCatalogs()
Returns a List of catalog ids known to this AllegroGraph server. |
AGVirtualRepository |
virtualRepository(String spec)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AGServer(String serverURL, String username, String password)
serverURL
- the URL of the server.username
- a user id for authenticating with the serverpassword
- a password for authenticating with the serverMethod Detail |
---|
public String getServerURL()
public String getVersion() throws com.franz.agraph.http.AGHttpException
com.franz.agraph.http.AGHttpException
public String getBuildDate() throws com.franz.agraph.http.AGHttpException
com.franz.agraph.http.AGHttpException
public String getRevision() throws com.franz.agraph.http.AGHttpException
com.franz.agraph.http.AGHttpException
public AGCatalog getRootCatalog()
getCatalog()
public List<String> listCatalogs() throws OpenRDFException
OpenRDFException
public AGCatalog getCatalog(String catalogID)
catalogID
- a catalog id.
public AGCatalog getCatalog()
public AGVirtualRepository virtualRepository(String spec)
public AGVirtualRepository federate(AGAbstractRepository... repositories)
public void close()
close
in interface Closeable
|
Copyright © 2008-2010 Franz Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |