Class LineStringRDD
- java.lang.Object
- 
- org.apache.sedona.core.spatialRDD.SpatialRDD<org.locationtech.jts.geom.LineString>
- 
- org.apache.sedona.core.spatialRDD.LineStringRDD
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class LineStringRDD extends SpatialRDD<org.locationtech.jts.geom.LineString> The Class LineStringRDD.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.sedona.core.spatialRDD.SpatialRDDapproximateTotalCount, boundaryEnvelope, CRStransformation, fieldNames, indexedRawRDD, indexedRDD, rawSpatialRDD, schema, sourceEpsgCode, spatialPartitionedRDD, targetEpgsgCode
 
- 
 - 
Constructor SummaryConstructors Constructor Description LineStringRDD()Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.LineString> rawSpatialRDD)Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer startOffset, Integer endOffset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData)Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer startOffset, Integer endOffset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions)Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer partitions, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData)Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions)Instantiates a new line string RDD.LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)Instantiates a new line string RDD.
 - 
Method Summary- 
Methods inherited from class org.apache.sedona.core.spatialRDD.SpatialRDDanalyze, analyze, analyze, boundary, buildIndex, calc_partitioner, coalesceAndBuildRawIndex, countWithoutDuplicates, countWithoutDuplicatesSPRDD, CRSTransform, CRSTransform, flipCoordinates, getCRStransformation, getPartitioner, getRawSpatialRDD, getSampleNumber, getSourceEpsgCode, getTargetEpgsgCode, MinimumBoundingRectangle, saveAsGeoJSON, saveAsWKB, saveAsWKT, setNeighborSampleNumber, setRawSpatialRDD, setSampleNumber, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioningWithoutDuplicates, spatialPartitioningWithoutDuplicates, spatialPartitioningWithoutDuplicates, spatialPartitioningWithoutDuplicates
 
- 
 
- 
- 
- 
Constructor Detail- 
LineStringRDDpublic LineStringRDD() Instantiates a new line string RDD.
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.LineString> rawSpatialRDD) Instantiates a new line string RDD.- Parameters:
- rawSpatialRDD- the raw spatial RDD
 
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer startOffset, Integer endOffset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData)Instantiates a new line string RDD.- Parameters:
- sparkContext- the spark context
- InputLocation- the input location
- startOffset- the start offset
- endOffset- the end offset
- splitter- the splitter
- carryInputData- the carry input data
 
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions)Instantiates a new line string RDD.- Parameters:
- sparkContext- the spark context
- InputLocation- the input location
- splitter- the splitter
- carryInputData- the carry input data
- partitions- the partitions
 
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData)Instantiates a new line string RDD.- Parameters:
- sparkContext- the spark context
- InputLocation- the input location
- splitter- the splitter
- carryInputData- the carry input data
 
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer partitions, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)Instantiates a new line string RDD.- Parameters:
- sparkContext- the spark context
- InputLocation- the input location
- partitions- the partitions
- userSuppliedMapper- the user supplied mapper
 
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)Instantiates a new line string RDD.- Parameters:
- sparkContext- the spark context
- InputLocation- the input location
- userSuppliedMapper- the user supplied mapper
 
 - 
LineStringRDDpublic LineStringRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer startOffset, Integer endOffset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions)Instantiates a new line string RDD.- Parameters:
- sparkContext- the spark context
- InputLocation- the input location
- startOffset- the start offset
- endOffset- the end offset
- splitter- the splitter
- carryInputData- the carry input data
- partitions- the partitions
 
 
- 
 
-