Updated on 2022-09-14 GMT+08:00
Querying Edge Details
You can use a specific API provided by GES to query edge details. The sample code is as follows:
public static void getEdge(GraphClient graphClient) throws ApiException { EdgeDetailReq req = new EdgeDetailReq(); req.setSource("46");//Replace with the actual vertex ID. req.setTarget("38");//Replace with the actual vertex ID. req.setIndex(0); EdgeDetailResult edgeDetailResult = graphClient.getEdge(req); System.out.print(edgeDetailResult); }
Parent topic: Using the Service Plane SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.