public interface GraphSystem
| Modifier and Type | Method and Description |
|---|---|
GraphBuilder |
createGraph(java.lang.String graphName)
Creates a new graph instance
|
void |
dropGraph(java.lang.String graphName)
Removes the graph of the specified name (and all its associated data as well as meta-data) from
the cluster.
|
java.util.Set<java.lang.String> |
getGraphs()
Get all graph names in the cluster.
|
boolean |
graphExists(java.lang.String graphName)
Check if a graph exists.
|
void |
truncateGraph(java.lang.String graphName)
Removes all vertex, property and edge data belonging to the specified graph (meta-data is not affected) from
the cluster.
|
java.util.Set<java.lang.String> getGraphs()
boolean graphExists(java.lang.String graphName)
graphName - The name of the graph to checkGraphBuilder createGraph(java.lang.String graphName)
graphName - The name of the graph to be createdGraphBuilder to construct the graphvoid dropGraph(java.lang.String graphName)
graphName - The name of the graph to dropvoid truncateGraph(java.lang.String graphName)
graphName - The name of the graph to truncate