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

  • 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:
    Serialized Form
    • Constructor Detail

      • RangeFilterUsingIndex

        public RangeFilterUsingIndex​(U queryWindow,
                                     SpatialPredicate spatialPredicate)
      • RangeFilterUsingIndex

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

      • 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