Starting a Graph
You can use a specific API provided by GES to start a graph from the original graph or a backup ID. The sample code is as follows:
//Start from the original graph. private static void startGraph(GesClient client, String graphId) throws GesSdkException { Job job = client.startGraph(graphId); System.out.println(job); } //Start from a backup. private static void startGraphFromBackup(GesClient client, String graphId, String backUpId) throws GesSdkException { Job job = client.startGraph(graphId,backUpId); System.out.println(job); }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.