更新时间:2024-04-17 GMT+08:00

查询节点详情

您可以使用GES提供的接口查询节点详情,示例代码如下:

public static void getVertices(GraphClient graphClient) throws ApiException
{
 VertexDetailReq req = new VertexDetailReq();
 req.setVertexIds("46");//此处需要用户替换为实际的点ID
 VertexDetailResult vertexDetailResult = graphClient.getVertices(req);
 System.out.print(vertexDetailResult);
}