public interface VirtualGraphAdminConnection extends AdminConnection
Connection to manage virtual graphs
NO_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
void |
addGraph(String theName,
Properties theProps,
Iterable<org.openrdf.model.Statement> theMappings)
Registers a new virtual graph.
|
VirtualGraph |
getGraph(String theName)
Returns the registered virtual graph with the given name.
|
Collection<VirtualGraph> |
getGraphs()
Returns all registered virtual graphs.
|
boolean |
removeGraph(String theName)
Removes the registered virtual graph with the given name.
|
void |
updateGraph(String theName,
Properties theProps,
Iterable<org.openrdf.model.Statement> theMappings)
Registers a new virtual graph overwriting a previous version if it exists.
|
as, backup, backup, backup, backupAll, builder, close, copy, createMemory, currentStatus, disk, drop, get, get, getPermissionManager, getQueryManager, getRoleManager, getStoredFunctions, getStoredQueries, getUserManager, isOpen, list, memory, newDatabase, offline, offline, online, optimize, repair, restore, restore, restoreAll, set, shutdownCollection<VirtualGraph> getGraphs()
VirtualGraph getGraph(String theName)
StardogException - if the graph does not exist or there is an error getting the graphboolean removeGraph(String theName)
true if the virtual graph exists and was removed, false if the virtual graph does not existStardogException - if there is an error removing the graphvoid addGraph(String theName, Properties theProps, Iterable<org.openrdf.model.Statement> theMappings)
StardogException - if there is already a registered virtual graph with the given name or if there is an error adding the graphvoid updateGraph(String theName, Properties theProps, Iterable<org.openrdf.model.Statement> theMappings)
StardogException - if there is an error updating the graphCopyright © 2010-2016 Stardog Union. All Rights Reserved.