Class RangeQuery

java.lang.Object
org.apache.sedona.core.spatialOperator.RangeQuery
All Implemented Interfaces:
Serializable

public class RangeQuery extends Object implements Serializable
The Class RangeQuery.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry>
    org.apache.spark.api.java.JavaRDD<T>
    SpatialRangeQuery(SpatialRDD<T> spatialRDD, org.locationtech.jts.geom.Envelope queryWindow, boolean considerBoundaryIntersection, boolean useIndex)
    Deprecated.
    static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry>
    org.apache.spark.api.java.JavaRDD<T>
    SpatialRangeQuery(SpatialRDD<T> spatialRDD, org.locationtech.jts.geom.Envelope queryWindow, SpatialPredicate spatialPredicate, boolean useIndex)
    Spatial range query.
    static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry>
    org.apache.spark.api.java.JavaRDD<T>
    SpatialRangeQuery(SpatialRDD<T> spatialRDD, U originalQueryGeometry, boolean considerBoundaryIntersection, boolean useIndex)
    Deprecated.
    static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry>
    org.apache.spark.api.java.JavaRDD<T>
    SpatialRangeQuery(SpatialRDD<T> spatialRDD, U originalQueryGeometry, SpatialPredicate spatialPredicate, boolean useIndex)
    Spatial range query.
    static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry>
    org.apache.spark.api.java.JavaRDD<T>
    SpatialRangeQuery(org.locationtech.jts.geom.Envelope queryWindow, SpatialRDD<T> spatialRDD, boolean considerBoundaryIntersection, boolean useIndex)
    Deprecated.
    static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry>
    org.apache.spark.api.java.JavaRDD<T>
    SpatialRangeQuery(U originalQueryGeometry, SpatialRDD<T> spatialRDD, boolean considerBoundaryIntersection, boolean useIndex)
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RangeQuery

      public RangeQuery()
  • Method Details

    • SpatialRangeQuery

      public static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry> org.apache.spark.api.java.JavaRDD<T> SpatialRangeQuery(SpatialRDD<T> spatialRDD, U originalQueryGeometry, SpatialPredicate spatialPredicate, boolean useIndex) throws Exception
      Spatial range query. Return objects in SpatialRDD are covered/intersected by originalQueryGeometry
      Parameters:
      spatialRDD - the spatial RDD
      originalQueryGeometry - the original query window
      spatialPredicate - spatial predicate as query criteria geom <spatialPredicate> originalQueryGeometry
      useIndex - the use index
      Returns:
      the java RDD
      Throws:
      Exception - the exception
    • SpatialRangeQuery

      public static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry> org.apache.spark.api.java.JavaRDD<T> SpatialRangeQuery(SpatialRDD<T> spatialRDD, org.locationtech.jts.geom.Envelope queryWindow, SpatialPredicate spatialPredicate, boolean useIndex) throws Exception
      Spatial range query. Return objects in SpatialRDD are covered/intersected by queryWindow/Envelope
      Parameters:
      spatialRDD - the spatial RDD
      queryWindow - the original query window
      spatialPredicate - spatial predicate as query criteria geom <spatialPredicate> queryWindow
      useIndex - the use index
      Returns:
      the java RDD
      Throws:
      Exception - the exception
    • SpatialRangeQuery

      @Deprecated public static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry> org.apache.spark.api.java.JavaRDD<T> SpatialRangeQuery(SpatialRDD<T> spatialRDD, U originalQueryGeometry, boolean considerBoundaryIntersection, boolean useIndex) throws Exception
      Deprecated.
      Spatial range query. Return objects in SpatialRDD are covered/intersected by originalQueryGeometry
      Parameters:
      spatialRDD - the spatial RDD
      originalQueryGeometry - the original query window
      considerBoundaryIntersection - the consider boundary intersection
      useIndex - the use index
      Returns:
      the java RDD
      Throws:
      Exception - the exception
    • SpatialRangeQuery

      @Deprecated public static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry> org.apache.spark.api.java.JavaRDD<T> SpatialRangeQuery(SpatialRDD<T> spatialRDD, org.locationtech.jts.geom.Envelope queryWindow, boolean considerBoundaryIntersection, boolean useIndex) throws Exception
      Deprecated.
      Spatial range query. Return objects in SpatialRDD are covered/intersected by queryWindow/Envelope
      Parameters:
      spatialRDD - the spatial RDD
      queryWindow - the original query window
      considerBoundaryIntersection - the consider boundary intersection
      useIndex - the use index
      Returns:
      the java RDD
      Throws:
      Exception - the exception
    • SpatialRangeQuery

      @Deprecated public static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry> org.apache.spark.api.java.JavaRDD<T> SpatialRangeQuery(org.locationtech.jts.geom.Envelope queryWindow, SpatialRDD<T> spatialRDD, boolean considerBoundaryIntersection, boolean useIndex) throws Exception
      Deprecated.
      Spatial range query. Return objects in SpatialRDD cover/intersect by queryWindow/Envelope
      Parameters:
      spatialRDD - the spatial RDD
      queryWindow - the original query window
      considerBoundaryIntersection - the consider boundary intersection
      useIndex - the use index
      Returns:
      the java RDD
      Throws:
      Exception - the exception
    • SpatialRangeQuery

      @Deprecated public static <U extends org.locationtech.jts.geom.Geometry, T extends org.locationtech.jts.geom.Geometry> org.apache.spark.api.java.JavaRDD<T> SpatialRangeQuery(U originalQueryGeometry, SpatialRDD<T> spatialRDD, boolean considerBoundaryIntersection, boolean useIndex) throws Exception
      Deprecated.
      Spatial range query. Return objects in SpatialRDD cover/intersect originalQueryGeometry
      Parameters:
      spatialRDD - the spatial RDD
      originalQueryGeometry - the original query window
      considerBoundaryIntersection - the consider boundary intersection
      useIndex - the use index
      Returns:
      the java RDD
      Throws:
      Exception - the exception