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
- 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
ConstructorsConstructorDescriptionLineStringFormatMapper(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
callMethods inherited from class org.apache.sedona.common.utils.FormatUtils
addGeometry, addMultiGeometry, readCoordinates, readGeoJSON, readGeoJsonPropertyNames, readGeometry, readPropertyNames, readWkb, readWkt
-
Constructor Details
-
LineStringFormatMapper
public LineStringFormatMapper(org.apache.sedona.common.enums.FileDataSplitter Splitter, boolean carryInputData) Instantiates a new line string format mapper.- Parameters:
Splitter- the splittercarryInputData- 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 offsetendOffset- the end offsetSplitter- the splittercarryInputData- the carry input data
-