yangxk1 commented on code in PR #763: URL: https://github.com/apache/incubator-graphar/pull/763#discussion_r2359851381
########## maven-projects/info/src/main/java/org/apache/graphar/info/GraphInfo.java: ########## @@ -37,6 +35,23 @@ public class GraphInfo { private final Map<String, VertexInfo> vertexType2VertexInfo; private final Map<String, EdgeInfo> edgeConcat2EdgeInfo; private final VersionInfo version; + private final Map<String, URI> types2StoreUri; + + public GraphInfo( + String name, + Map<URI, VertexInfo> vertexInfos, + Map<URI, EdgeInfo> edgeInfos, + URI uri, + String version) { + this( + name, + new ArrayList<>(vertexInfos.values()), + new ArrayList<>(edgeInfos.values()), + uri, + version); + vertexInfos.forEach((key, value) -> types2StoreUri.put(value.getType() + ".vertex", key)); + edgeInfos.forEach((key, value) -> types2StoreUri.put(value.getConcat() + ".edge", key)); Review Comment: has initialized in `this()` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For additional commands, e-mail: commits-h...@graphar.apache.org