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