Class RangeFilterUsingIndex<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>

java.lang.Object
org.apache.sedona.core.rangeJudgement.JudgementBase
org.apache.sedona.core.rangeJudgement.RangeFilterUsingIndex<U,T>
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.FlatMapFunction<Iterator<org.locationtech.jts.index.SpatialIndex>,T>

public class RangeFilterUsingIndex<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry> extends JudgementBase implements org.apache.spark.api.java.function.FlatMapFunction<Iterator<org.locationtech.jts.index.SpatialIndex>,T>
See Also:
  • Constructor Details

    • RangeFilterUsingIndex

      public RangeFilterUsingIndex(U queryWindow, SpatialPredicate spatialPredicate)
    • RangeFilterUsingIndex

      public RangeFilterUsingIndex(U queryWindow, boolean considerBoundaryIntersection, boolean leftCoveredByRight)
  • Method Details

    • call

      public Iterator<T> call(Iterator<org.locationtech.jts.index.SpatialIndex> treeIndexes) throws Exception
      Call.
      Specified by:
      call in interface org.apache.spark.api.java.function.FlatMapFunction<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
      Parameters:
      treeIndexes - the tree indexes
      Returns:
      the iterator
      Throws:
      Exception - the exception