public class CircleRDD extends SpatialRDD<Circle>
approximateTotalCount, boundaryEnvelope, CRStransformation, fieldNames, indexedRawRDD, indexedRDD, rawSpatialRDD, sourceEpsgCode, spatialPartitionedRDD, targetEpgsgCode
Constructor and Description |
---|
CircleRDD(org.apache.spark.api.java.JavaRDD<Circle> circleRDD)
Instantiates a new circle RDD.
|
CircleRDD(org.apache.spark.api.java.JavaRDD<Circle> circleRDD,
String sourceEpsgCRSCode,
String targetEpsgCRSCode)
Instantiates a new circle RDD.
|
CircleRDD(SpatialRDD spatialRDD,
Double Radius)
Instantiates a new circle RDD.
|
Modifier and Type | Method and Description |
---|---|
LineStringRDD |
getCenterLineStringRDDAsSpatialRDD()
Gets the center line string RDD as spatial RDD.
|
PointRDD |
getCenterPointAsSpatialRDD()
Gets the center point as spatial RDD.
|
PolygonRDD |
getCenterPolygonAsSpatialRDD()
Gets the center polygon as spatial RDD.
|
RectangleRDD |
getCenterRectangleRDDAsSpatialRDD()
Gets the center rectangle RDD as spatial RDD.
|
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, spatialPartitioning
public CircleRDD(org.apache.spark.api.java.JavaRDD<Circle> circleRDD)
circleRDD
- the circle RDDpublic CircleRDD(org.apache.spark.api.java.JavaRDD<Circle> circleRDD, String sourceEpsgCRSCode, String targetEpsgCRSCode)
circleRDD
- the circle RDDsourceEpsgCRSCode
- the source epsg CRS codetargetEpsgCRSCode
- the target epsg CRS codepublic CircleRDD(SpatialRDD spatialRDD, Double Radius)
spatialRDD
- the spatial RDDRadius
- the radiuspublic PointRDD getCenterPointAsSpatialRDD()
public PolygonRDD getCenterPolygonAsSpatialRDD()
public LineStringRDD getCenterLineStringRDDAsSpatialRDD()
public RectangleRDD getCenterRectangleRDDAsSpatialRDD()
Copyright © 2023 The Apache Software Foundation. All rights reserved.