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

查询图列表

您可以使用GES提供的接口查询图列表,示例代码如下:

  private static void listGraphs(GesClient client) throws GesSdkException {
        GraphList graphList = client.listGraphs();
        for (Graph graph : graphList.getGraphs())
        {
            System.out.println(graph);
        }
    }