Updated on 2022-09-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
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.