Class PointRDD
java.lang.Object
org.apache.sedona.core.spatialRDD.SpatialRDD<org.locationtech.jts.geom.Point>
org.apache.sedona.core.spatialRDD.PointRDD
- All Implemented Interfaces:
Serializable
The Class PointRDD.
- See Also:
-
Field Summary
Fields inherited from class org.apache.sedona.core.spatialRDD.SpatialRDD
approximateTotalCount, boundaryEnvelope, CRStransformation, fieldNames, indexedRawRDD, indexedRDD, rawSpatialRDD, schema, sourceEpsgCode, spatialPartitionedRDD, targetEpgsgCode -
Constructor Summary
ConstructorsConstructorDescriptionPointRDD()Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Point> rawSpatialRDD) Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer Offset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData) Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer Offset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions) Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer partitions, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper) Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData) Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions) Instantiates a new point RDD.PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper) Instantiates a new point RDD. -
Method Summary
Methods inherited from class org.apache.sedona.core.spatialRDD.SpatialRDD
analyze, 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 Details
-
PointRDD
public PointRDD()Instantiates a new point RDD. -
PointRDD
public PointRDD(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Point> rawSpatialRDD) Instantiates a new point RDD.- Parameters:
rawSpatialRDD- the raw spatial RDD
-
PointRDD
public PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer Offset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData) Instantiates a new point RDD.- Parameters:
sparkContext- the spark contextInputLocation- the input locationOffset- the offsetsplitter- the splittercarryInputData- the carry input data
-
PointRDD
public PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions) Instantiates a new point RDD.- Parameters:
sparkContext- the spark contextInputLocation- the input locationsplitter- the splittercarryInputData- the carry input datapartitions- the partitions
-
PointRDD
public PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData) Instantiates a new point RDD.- Parameters:
sparkContext- the spark contextInputLocation- the input locationsplitter- the splittercarryInputData- the carry input data
-
PointRDD
public PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer partitions, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper) Instantiates a new point RDD.- Parameters:
sparkContext- the spark contextInputLocation- the input locationpartitions- the partitionsuserSuppliedMapper- the user supplied mapper
-
PointRDD
public PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper) Instantiates a new point RDD.- Parameters:
sparkContext- the spark contextInputLocation- the input locationuserSuppliedMapper- the user supplied mapper
-
PointRDD
public PointRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String InputLocation, Integer Offset, org.apache.sedona.common.enums.FileDataSplitter splitter, boolean carryInputData, Integer partitions) Instantiates a new point RDD.- Parameters:
sparkContext- the spark contextInputLocation- the input locationOffset- the offsetsplitter- the splittercarryInputData- the carry input datapartitions- the partitions
-