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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getDedupParams(): DedupParams
    Definition Classes
    BroadcastedSpatialPartitionerSpatialPartitioner
    Annotations
    @Nullable() @Override()
  11. def getGridType(): GridType
    Definition Classes
    SpatialPartitioner
  12. def getGrids(): List[Envelope]
    Definition Classes
    BroadcastedSpatialPartitionerSpatialPartitioner
    Annotations
    @Override()
  13. def getPartition(key: Any): Int
    Definition Classes
    SpatialPartitioner → Partitioner
    Annotations
    @Override()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def numPartitions(): Int
    Definition Classes
    BroadcastedSpatialPartitioner → Partitioner
    Annotations
    @Override()
  20. 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()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from SpatialPartitioner

Inherited from Partitioner

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped