Class IndexBuilder<T extends org.locationtech.jts.geom.Geometry>

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

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

    • IndexBuilder

      public IndexBuilder(IndexType indexType)
  • Method Details

    • call

      public Iterator<org.locationtech.jts.index.SpatialIndex> call(Iterator<T> objectIterator) throws Exception
      Specified by:
      call in interface org.apache.spark.api.java.function.FlatMapFunction<Iterator<T extends org.locationtech.jts.geom.Geometry>,org.locationtech.jts.index.SpatialIndex>
      Throws:
      Exception