更新时间:2022-06-30 GMT+08:00

清除图

您可以使用GES提供的接口清除图的数据。示例代码如下:

public static void clearGraph(GraphClient graphClient) throws ApiException {
     ClearGraphReq clearGraphReq = new ClearGraphReq();
     clearGraphReq.setGraphName(graphInfo.getGraphName());
     graphClient.clearGraph(clearGraphReq);
}