Updated on 2022-04-24 GMT+08:00

Querying Graph Metadata Details

You can use a specific API provided by GES to query metadata details. The sample code is as follows:

 public static void getSchema(GraphClient graphClient) throws ApiException
{   Map result = graphClient.getGraphSchema();
    //Output the result in a specific format using the MapUtils tool class.
    System.out.print(MapUtils.map2json(result));
}