public interface VirtualGraphAdminConnection extends AdminConnection
Connection to manage virtual graphs
NO_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
default void |
addGraph(String theName,
Properties theProps,
Iterable<Statement> theMappings)
Registers a new virtual graph to be associated with all databases.
|
default void |
addGraph(String theName,
Properties theProps,
String theMappings)
Registers a new virtual graph for access from all databases
|
void |
addGraph(String theName,
String database,
Properties theProps,
Iterable<Statement> theMappings)
Registers a new virtual graph.
|
void |
addGraph(String theName,
String theDatabase,
Properties theProps,
String theMappings)
Registers a new virtual graph.
|
VirtualGraph |
getGraph(String theName)
Deprecated.
Use getVirtualGraphInfo or the other methods
|
Collection<VirtualGraph> |
getGraphs()
Deprecated.
|
default String |
getMappings(String vgName)
Get mappings for the named virtual graph in R2RML format
|
String |
getMappingsString(String theName,
String theSyntax)
Get the serialized mappings
|
Properties |
getOptions(String theName)
Get the virtual graph options
|
VirtualGraphInfo |
getVirtualGraphInfo(String theName) |
Collection<VirtualGraphInfo> |
getVirtualGraphInfos()
Returns information on all registered virtual graphs.
|
boolean |
removeGraph(String theName)
Removes the registered virtual graph with the given name.
|
default void |
updateGraph(String theName,
Properties theProps,
Iterable<Statement> theMappings)
Registers a new virtual graph to be associated with all databases, overwriting a previous version if it exists.
|
default void |
updateGraph(String theName,
Properties theProps,
String theMappings)
Registers a new virtual graph for access from all databases, overwriting a previous version if it exists.
|
void |
updateGraph(String theName,
String theDatabase,
Properties theProps,
Iterable<Statement> theMappings)
Registers a new virtual graph overwriting a previous version if it exists.
|
void |
updateGraph(String theName,
String theDatabase,
Properties theProps,
String theMappings)
Registers a new virtual graph overwriting a previous version if it exists.
|
as, backup, backup, backup, backupAll, builder, close, currentStatus, disk, drop, get, get, getPermissionManager, getQueryManager, getRoleManager, getStoredFunctions, getStoredQueries, getUserManager, isOpen, list, newDatabase, offline, offline, online, optimize, optimize, repair, restore, restore, restoreAll, set, shutdownCollection<VirtualGraph> getGraphs()
getVirtualGraphInfos()Collection<VirtualGraphInfo> getVirtualGraphInfos()
VirtualGraph getGraph(String theName)
StardogException - if the graph does not exist or there is an error getting the graphVirtualGraphInfo getVirtualGraphInfo(String theName)
Properties getOptions(String theName)
default String getMappings(String vgName)
String getMappingsString(String theName, String theSyntax)
boolean 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 graphdefault void addGraph(String theName, Properties theProps, Iterable<Statement> theMappings)
StardogException - if there is already a registered virtual graph with the given name or if there is an error adding the graphvoid addGraph(String theName, String database, Properties theProps, Iterable<Statement> theMappings)
StardogException - if there is already a registered virtual graph with the given name or if there is an error adding the graphdefault void addGraph(String theName, Properties theProps, String theMappings)
void addGraph(String theName, String theDatabase, Properties theProps, String theMappings)
StardogException - if there is already a registered virtual graph with the given name or if there is an error adding the graphdefault void updateGraph(String theName, Properties theProps, Iterable<Statement> theMappings)
StardogException - if there is an error updating the graphvoid updateGraph(String theName, String theDatabase, Properties theProps, Iterable<Statement> theMappings)
StardogException - if there is an error updating the graphdefault void updateGraph(String theName, Properties theProps, String theMappings)
void updateGraph(String theName, String theDatabase, Properties theProps, String theMappings)
StardogException - if there is an error updating the graphCopyright © 2010-2016 Stardog Union. All Rights Reserved.