yangxk1 commented on code in PR #769: URL: https://github.com/apache/incubator-graphar/pull/769#discussion_r2359831318
########## maven-projects/info/src/main/java/org/apache/graphar/info/EdgeInfo.java: ########## @@ -576,6 +578,56 @@ private void checkPropertyGroupExist(PropertyGroup propertyGroup) { } } + public boolean isValidated() { + // Check if source type, edge type, or destination type is empty + if (getSrcType() == null + || getSrcType().isEmpty() + || getEdgeType() == null + || getEdgeType().isEmpty() + || getDstType() == null + || getDstType().isEmpty()) { + return false; + } + + // Check if chunk sizes are positive + if (chunkSize <= 0 || srcChunkSize <= 0 || dstChunkSize <= 0) { + return false; + } Review Comment: ignore -- 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