Class CircleRDD
- java.lang.Object
- 
- org.apache.sedona.core.spatialRDD.SpatialRDD<org.apache.sedona.common.geometryObjects.Circle>
- 
- org.apache.sedona.core.spatialRDD.CircleRDD
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class CircleRDD extends SpatialRDD<org.apache.sedona.common.geometryObjects.Circle> The Class CircleRDD.- 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 CircleRDD(SpatialRDD spatialRDD, Double Radius)Instantiates a new circle RDD.CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD)Instantiates a new circle RDD.CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD, String sourceEpsgCRSCode, String targetEpsgCRSCode)Instantiates a new circle RDD.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LineStringRDDgetCenterLineStringRDDAsSpatialRDD()Gets the center line string RDD as spatial RDD.PointRDDgetCenterPointAsSpatialRDD()Gets the center point as spatial RDD.PolygonRDDgetCenterPolygonAsSpatialRDD()Gets the center polygon as spatial RDD.RectangleRDDgetCenterRectangleRDDAsSpatialRDD()Gets the center rectangle RDD as spatial RDD.- 
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- 
CircleRDDpublic CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD) Instantiates a new circle RDD.- Parameters:
- circleRDD- the circle RDD
 
 - 
CircleRDDpublic CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD, String sourceEpsgCRSCode, String targetEpsgCRSCode)Instantiates a new circle RDD.- Parameters:
- circleRDD- the circle RDD
- sourceEpsgCRSCode- the source epsg CRS code
- targetEpsgCRSCode- the target epsg CRS code
 
 - 
CircleRDDpublic CircleRDD(SpatialRDD spatialRDD, Double Radius) Instantiates a new circle RDD.- Parameters:
- spatialRDD- the spatial RDD
- Radius- the radius
 
 
- 
 - 
Method Detail- 
getCenterPointAsSpatialRDDpublic PointRDD getCenterPointAsSpatialRDD() Gets the center point as spatial RDD.- Returns:
- the center point as spatial RDD
 
 - 
getCenterPolygonAsSpatialRDDpublic PolygonRDD getCenterPolygonAsSpatialRDD() Gets the center polygon as spatial RDD.- Returns:
- the center polygon as spatial RDD
 
 - 
getCenterLineStringRDDAsSpatialRDDpublic LineStringRDD getCenterLineStringRDDAsSpatialRDD() Gets the center line string RDD as spatial RDD.- Returns:
- the center line string RDD as spatial RDD
 
 - 
getCenterRectangleRDDAsSpatialRDDpublic RectangleRDD getCenterRectangleRDDAsSpatialRDD() Gets the center rectangle RDD as spatial RDD.- Returns:
- the center rectangle RDD as spatial RDD
 
 
- 
 
-