jiayuasu commented on code in PR #610: URL: https://github.com/apache/incubator-sedona/pull/610#discussion_r852511063
########## flink/src/main/java/org/apache/sedona/flink/expressions/Predicates.java: ########## @@ -104,4 +104,28 @@ public Boolean eval(@DataTypeHint("INT") Integer key, @DataTypeHint(value = "RAW return JudgementHelper.match(geom1, geom2, halfOpenRectangle, false); } } + + public static class ST_Disjoint extends ScalarFunction { + private List<Envelope> grids; + + /** + * Constructor for duplicate removal + */ + public ST_Disjoint(PartitioningUtils partitioner) { + grids = partitioner.fetchLeafZones(); + } + + /** + * Constructor for relation checking without duplicate removal + */ + public ST_Disjoint() { + } + + @DataTypeHint("Boolean") + public Boolean eval(@DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o1, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o2) { + Geometry geom1 = (Geometry) o1; Review Comment: In Intelij IDEA, go to the test case you want to run. Right click the test case in the source code to run the specific test case -- 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: dev-unsubscr...@sedona.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org