Class LineStringFormatMapper

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

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

    • LineStringFormatMapper

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

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