更新时间:2022-12-08 GMT+08:00
清空图
您可以使用GES提供的接口清除图的数据。示例代码如下:
public static void clearGraph(GraphClient graphClient) throws ApiException { ClearGraphReq clearGraphReq = new ClearGraphReq(); clearGraphReq.setGraphName(graphInfo.getGraphName()); graphClient.clearGraph(clearGraphReq); }
父主题: 使用管理面SDK