c

org.apache.sedona.core.spatialPartitioning

BroadcastedSpatialPartitioner

class BroadcastedSpatialPartitioner extends SpatialPartitioner

The SpatialPartitioner may contain a large number of grids, which may make the serialized tasks to be larger than 1MB and trigger a warning: "WARN DAGScheduler: Broadcasting large task binary with size XXXX KB". This class is a wrapper around a SpatialPartitioner that is broadcasted to reduce the size of serialized tasks.

Linear Supertypes
SpatialPartitioner, Partitioner, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BroadcastedSpatialPartitioner
  2. SpatialPartitioner
  3. Partitioner
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BroadcastedSpatialPartitioner(partitioner: Broadcast[SpatialPartitioner])

Value Members

  1. def getDedupParams(): DedupParams
    Definition Classes
    BroadcastedSpatialPartitionerSpatialPartitioner
    Annotations
    @Nullable() @Override()
  2. def getGridType(): GridType
    Definition Classes
    SpatialPartitioner
  3. def getGrids(): List[Envelope]
    Definition Classes
    BroadcastedSpatialPartitionerSpatialPartitioner
    Annotations
    @Override()
  4. def getPartition(key: Any): Int
    Definition Classes
    SpatialPartitioner → Partitioner
    Annotations
    @Override()
  5. def numPartitions(): Int
    Definition Classes
    BroadcastedSpatialPartitioner → Partitioner
    Annotations
    @Override()
  6. def placeObject[T <: Geometry](spatialObject: T): Iterator[(Integer, T)]

    Given a geometry, returns a list of partitions it overlaps.

    Given a geometry, returns a list of partitions it overlaps.

    For points, returns exactly one partition as long as grid type is non-overlapping. For other geometry types or for overlapping grid types, may return multiple partitions.

    Definition Classes
    BroadcastedSpatialPartitionerSpatialPartitioner
    Annotations
    @Override()