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

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

      • IndexBuilder

        public IndexBuilder​(IndexType indexType)
    • Method Detail

      • 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