Class EqualPartitioning
- java.lang.Object
-
- org.apache.sedona.core.spatialPartitioning.EqualPartitioning
-
- All Implemented Interfaces:
Serializable
public class EqualPartitioning extends Object implements Serializable
The Class EqualPartitioning.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EqualPartitioning(List<org.locationtech.jts.geom.Envelope> grids)
EqualPartitioning(List<org.locationtech.jts.geom.Envelope> grids, boolean preserveUncontainedGeometries)
EqualPartitioning(org.locationtech.jts.geom.Envelope boundary, int partitions)
Instantiates a new equal partitioning.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.locationtech.jts.geom.Envelope>
getGrids()
Gets the grids.Set<Integer>
getKeys(org.locationtech.jts.geom.Geometry geometry)
Iterator<scala.Tuple2<Integer,org.locationtech.jts.geom.Geometry>>
placeObject(org.locationtech.jts.geom.Geometry geometry)
-
-
-
Constructor Detail
-
EqualPartitioning
public EqualPartitioning(List<org.locationtech.jts.geom.Envelope> grids, boolean preserveUncontainedGeometries)
-
EqualPartitioning
public EqualPartitioning(List<org.locationtech.jts.geom.Envelope> grids)
-
EqualPartitioning
public EqualPartitioning(org.locationtech.jts.geom.Envelope boundary, int partitions)
Instantiates a new equal partitioning.- Parameters:
boundary
- the boundarypartitions
- the partitions
-
-