Class PartitioningUtils
- java.lang.Object
- 
- org.apache.sedona.core.spatialPartitioning.PartitioningUtils
 
- 
- Direct Known Subclasses:
- ExtendedQuadTree,- KDB,- StandardQuadTree
 
 public abstract class PartitioningUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description PartitioningUtils()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<org.locationtech.jts.geom.Envelope>fetchLeafZones()abstract Set<Integer>getKeys(org.locationtech.jts.geom.Geometry geometry)static PartitioningUtilsgetPartitioner(List<org.locationtech.jts.geom.Geometry> samples, GridType gridType, org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution)static PartitioningUtilsgetPartitioner(org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution)If the user only provides boundary and numPartitions, use equal grids.abstract Iterator<scala.Tuple2<Integer,org.locationtech.jts.geom.Geometry>>placeObject(org.locationtech.jts.geom.Geometry geometry)
 
- 
- 
- 
Method Detail- 
placeObjectpublic abstract Iterator<scala.Tuple2<Integer,org.locationtech.jts.geom.Geometry>> placeObject(org.locationtech.jts.geom.Geometry geometry) 
 - 
fetchLeafZonespublic abstract List<org.locationtech.jts.geom.Envelope> fetchLeafZones() 
 - 
getPartitionerpublic static PartitioningUtils getPartitioner(List<org.locationtech.jts.geom.Geometry> samples, GridType gridType, org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution) 
 - 
getPartitionerpublic static PartitioningUtils getPartitioner(org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution) If the user only provides boundary and numPartitions, use equal grids.- Parameters:
- boundaryEnvelope-
- resolution-
- Returns:
 
 
- 
 
-