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
Ordering
- Alphabetic
- By Inheritance
Inherited
- BroadcastedSpatialPartitioner
- SpatialPartitioner
- Partitioner
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BroadcastedSpatialPartitioner(partitioner: Broadcast[SpatialPartitioner])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDedupParams(): DedupParams
- Definition Classes
- BroadcastedSpatialPartitioner → SpatialPartitioner
- Annotations
- @Nullable() @Override()
-
def
getGridType(): GridType
- Definition Classes
- SpatialPartitioner
-
def
getGrids(): List[Envelope]
- Definition Classes
- BroadcastedSpatialPartitioner → SpatialPartitioner
- Annotations
- @Override()
-
def
getPartition(key: Any): Int
- Definition Classes
- SpatialPartitioner → Partitioner
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
numPartitions(): Int
- Definition Classes
- BroadcastedSpatialPartitioner → Partitioner
- Annotations
- @Override()
-
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
- BroadcastedSpatialPartitioner → SpatialPartitioner
- Annotations
- @Override()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()