Updated on 2022-11-14 GMT+08:00
Verifying Metadata Files
GES provides an API for verifying metadata files, with which you can check whether the selected data sets match the metadata file. The sample code is as follows:
private static void checkSchema(GesClient client) throws GesSdkException { Schema schema = new Schema(); schema.setSchemaPath("gesdata/movie/schema.xml"); schema.setEdgesetPath("gesdata/movie/edge.csv"); schema.setVertexsetPath("gesdata/movie/vertex.csv"); boolean checkResult = client.checkSchema(schema); System.out.println(checkResult); }
Parent topic: Using the Management Plane SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot