Class PolygonFormatMapper

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

public class PolygonFormatMapper 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
    PolygonFormatMapper(Integer startOffset, Integer endOffset, org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData)
    Instantiates a new polygon format mapper.
    PolygonFormatMapper(org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData)
    Instantiates a new polygon 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

    • PolygonFormatMapper

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

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