Search in sources :

Example 1 with FetchSchemaResponse

use of com.alibaba.maxgraph.proto.groot.FetchSchemaResponse in project GraphScope by alibaba.

the class StoreSchemaClient method fetchSchema.

public GraphDef fetchSchema() {
    FetchSchemaResponse response = this.stub.fetchSchema(FetchSchemaRequest.newBuilder().build());
    GraphDef graphDef = GraphDef.parseProto(response.getGraphDef());
    return graphDef;
}
Also used : FetchSchemaResponse(com.alibaba.maxgraph.proto.groot.FetchSchemaResponse) GraphDef(com.alibaba.maxgraph.sdkcommon.schema.GraphDef)

Aggregations

FetchSchemaResponse (com.alibaba.maxgraph.proto.groot.FetchSchemaResponse)1 GraphDef (com.alibaba.maxgraph.sdkcommon.schema.GraphDef)1