Class RangeQuery
java.lang.Object
org.apache.sedona.core.spatialOperator.RangeQuery
- All Implemented Interfaces:
Serializable
The Class RangeQuery.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <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.
-
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 RDDoriginalQueryGeometry- the original query windowspatialPredicate- spatial predicate as query criteriageom <spatialPredicate> originalQueryGeometryuseIndex- 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 RDDqueryWindow- the original query windowspatialPredicate- spatial predicate as query criteriageom <spatialPredicate> queryWindowuseIndex- 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 RDDoriginalQueryGeometry- the original query windowconsiderBoundaryIntersection- the consider boundary intersectionuseIndex- 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 RDDqueryWindow- the original query windowconsiderBoundaryIntersection- the consider boundary intersectionuseIndex- 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 RDDqueryWindow- the original query windowconsiderBoundaryIntersection- the consider boundary intersectionuseIndex- 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 RDDoriginalQueryGeometry- the original query windowconsiderBoundaryIntersection- the consider boundary intersectionuseIndex- the use index- Returns:
- the java RDD
- Throws:
Exception- the exception
-