Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Show all

Verifying Metadata Files

Updated on 2022-09-14 GMT+08:00

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);
 
    }  
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback