public class PolygonRDD extends SpatialRDD<org.locationtech.jts.geom.Polygon>
approximateTotalCount, boundaryEnvelope, CRStransformation, fieldNames, indexedRawRDD, indexedRDD, rawSpatialRDD, sourceEpsgCode, spatialPartitionedRDD, targetEpgsgCode| Constructor and Description |
|---|
PolygonRDD()
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Polygon> rawSpatialRDD)
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
FileDataSplitter splitter,
boolean carryInputData)
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
FileDataSplitter splitter,
boolean carryInputData,
Integer partitions)
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
Integer partitions,
org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
Integer startOffset,
Integer endOffset,
FileDataSplitter splitter,
boolean carryInputData)
Instantiates a new polygon RDD.
|
PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
Integer startOffset,
Integer endOffset,
FileDataSplitter splitter,
boolean carryInputData,
Integer partitions)
Instantiates a new polygon RDD.
|
| Modifier and Type | Method and Description |
|---|---|
org.locationtech.jts.geom.Polygon |
PolygonUnion()
Polygon union.
|
analyze, analyze, analyze, boundary, buildIndex, calc_partitioner, countWithoutDuplicates, countWithoutDuplicatesSPRDD, CRSTransform, CRSTransform, flipCoordinates, getCRStransformation, getPartitioner, getRawSpatialRDD, getSampleNumber, getSourceEpsgCode, getTargetEpgsgCode, MinimumBoundingRectangle, saveAsGeoJSON, saveAsWKB, saveAsWKT, setRawSpatialRDD, setSampleNumber, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioningpublic PolygonRDD()
public PolygonRDD(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Polygon> rawSpatialRDD)
rawSpatialRDD - the raw spatial RDDpublic PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
Integer startOffset,
Integer endOffset,
FileDataSplitter splitter,
boolean carryInputData)
sparkContext - the spark contextInputLocation - the input locationstartOffset - the start offsetendOffset - the end offsetsplitter - the splittercarryInputData - the carry input datapublic PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
FileDataSplitter splitter,
boolean carryInputData,
Integer partitions)
sparkContext - the spark contextInputLocation - the input locationsplitter - the splittercarryInputData - the carry input datapartitions - the partitionspublic PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
FileDataSplitter splitter,
boolean carryInputData)
sparkContext - the spark contextInputLocation - the input locationsplitter - the splittercarryInputData - the carry input datapublic PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
Integer partitions,
org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)
sparkContext - the spark contextInputLocation - the input locationpartitions - the partitionsuserSuppliedMapper - the user supplied mapperpublic PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)
sparkContext - the spark contextInputLocation - the input locationuserSuppliedMapper - the user supplied mapperpublic PolygonRDD(org.apache.spark.api.java.JavaSparkContext sparkContext,
String InputLocation,
Integer startOffset,
Integer endOffset,
FileDataSplitter splitter,
boolean carryInputData,
Integer partitions)
sparkContext - the spark contextInputLocation - the input locationstartOffset - the start offsetendOffset - the end offsetsplitter - the splittercarryInputData - the carry input datapartitions - the partitionsCopyright © 2023 The Apache Software Foundation. All rights reserved.