Class RangeFilter<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.RangeFilter<U,T>
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.Function<T,Boolean>

public class RangeFilter<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry> extends JudgementBase implements org.apache.spark.api.java.function.Function<T,Boolean>
See Also:
  • Constructor Details

    • RangeFilter

      public RangeFilter(U queryWindow, SpatialPredicate spatialPredicate)
    • RangeFilter

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

    • call

      public Boolean call(T geometry) throws Exception
      Specified by:
      call in interface org.apache.spark.api.java.function.Function<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
      Throws:
      Exception