use of com.alibaba.maxgraph.proto.groot.PrepareDataLoadResponse in project GraphScope by alibaba.
the class MaxGraphClient method prepareDataLoad.
public GraphSchema prepareDataLoad(List<DataLoadTarget> targets) {
PrepareDataLoadRequest.Builder builder = PrepareDataLoadRequest.newBuilder();
for (DataLoadTarget target : targets) {
builder.addDataLoadTargets(target.toProto());
}
PrepareDataLoadResponse response = this.stub.prepareDataLoad(builder.build());
return GraphDef.parseProto(response.getGraphDef());
}
Aggregations