You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2023/03/06 04:30:29 UTC

[sedona] branch master updated: [SEDONA-229] Fix Flink Return Tags (#788)

This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 84e67f6f [SEDONA-229] Fix Flink Return Tags (#788)
84e67f6f is described below

commit 84e67f6f1d75b5774b501165f0f8f0cb62fa4564
Author: Douglas Dennis <do...@gmail.com>
AuthorDate: Sun Mar 5 20:30:23 2023 -0800

    [SEDONA-229] Fix Flink Return Tags (#788)
---
 .../java/org/apache/sedona/flink/expressions/Predicates.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/flink/src/main/java/org/apache/sedona/flink/expressions/Predicates.java b/flink/src/main/java/org/apache/sedona/flink/expressions/Predicates.java
index 79a624d6..e7f797d9 100644
--- a/flink/src/main/java/org/apache/sedona/flink/expressions/Predicates.java
+++ b/flink/src/main/java/org/apache/sedona/flink/expressions/Predicates.java
@@ -53,7 +53,7 @@ public class Predicates {
          * @param key
          * @param o1
          * @param o2
-         * @return
+         * @return True if intersecting, false otherwise
          */
         @DataTypeHint("Boolean")
         public Boolean eval(@DataTypeHint("INT") Integer key, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o1, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o2) {
@@ -93,7 +93,7 @@ public class Predicates {
          * @param key
          * @param o1
          * @param o2
-         * @return
+         * @return True if o1 contains o2, false otherwise
          */
         @DataTypeHint("Boolean")
         public Boolean eval(@DataTypeHint("INT") Integer key, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o1, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o2) {
@@ -133,7 +133,7 @@ public class Predicates {
          * @param key
          * @param o1
          * @param o2
-         * @return
+         * @return True if o1 is within o2, false otherwise
          */
         @DataTypeHint("Boolean")
         public Boolean eval(@DataTypeHint("INT") Integer key, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o1, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o2) {
@@ -173,7 +173,7 @@ public class Predicates {
          * @param key
          * @param o1
          * @param o2
-         * @return
+         * @return True if o1 covers o2, false otherwise
          */
         @DataTypeHint("Boolean")
         public Boolean eval(@DataTypeHint("INT") Integer key, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o1, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o2) {
@@ -213,7 +213,7 @@ public class Predicates {
          * @param key
          * @param o1
          * @param o2
-         * @return
+         * @return True if o1 is covered by o2, false otherwise
          */
         @DataTypeHint("Boolean")
         public Boolean eval(@DataTypeHint("INT") Integer key, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o1, @DataTypeHint(value = "RAW", bridgedTo = org.locationtech.jts.geom.Geometry.class) Object o2) {