Class PartitioningUtils
java.lang.Object
org.apache.sedona.core.spatialPartitioning.PartitioningUtils
- Direct Known Subclasses:
ExtendedQuadTree,KDB,StandardQuadTree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<org.locationtech.jts.geom.Envelope>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.placeObject(org.locationtech.jts.geom.Geometry geometry)
-
Constructor Details
-
PartitioningUtils
public PartitioningUtils()
-
-
Method Details
-
placeObject
-
getKeys
-
fetchLeafZones
-
getPartitioner
public static PartitioningUtils getPartitioner(List<org.locationtech.jts.geom.Geometry> samples, GridType gridType, org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution) -
getPartitioner
public 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:
-