Class RectangleFormatMapper

java.lang.Object
org.apache.sedona.common.utils.FormatUtils
org.apache.sedona.core.formatMapper.FormatMapper
org.apache.sedona.core.formatMapper.RectangleFormatMapper
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.FlatMapFunction

public class RectangleFormatMapper extends FormatMapper
See Also:
  • Field Summary

    Fields inherited from class org.apache.sedona.common.utils.FormatUtils

    allowTopologicallyInvalidGeometries, carryInputData, endOffset, factory, geoJSONReader, geometryType, otherAttributes, skipSyntacticallyInvalidGeometries, splitter, startOffset, wktReader
  • Constructor Summary

    Constructors
    Constructor
    Description
    RectangleFormatMapper(Integer startOffset, org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData)
    Instantiates a new rectangle format mapper.
    RectangleFormatMapper(org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData)
    Instantiates a new rectangle format mapper.
  • Method Summary

    Methods inherited from class org.apache.sedona.core.formatMapper.FormatMapper

    call

    Methods inherited from class org.apache.sedona.common.utils.FormatUtils

    addGeometry, addMultiGeometry, readCoordinates, readGeoJSON, readGeoJsonPropertyNames, readGeometry, readPropertyNames, readWkb, readWkt

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RectangleFormatMapper

      public RectangleFormatMapper(org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData)
      Instantiates a new rectangle format mapper.
      Parameters:
      Splitter - the splitter
      carryInputData - the carry input data
    • RectangleFormatMapper

      public RectangleFormatMapper(Integer startOffset, org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData)
      Instantiates a new rectangle format mapper.
      Parameters:
      startOffset - the start offset
      Splitter - the splitter
      carryInputData - the carry input data