case class SpacePartitioner[K](bounds: Bounds[K])(implicit evidence$1: Boundable[K], evidence$2: ClassTag[K], index: PartitionerIndex[K]) extends Partitioner with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SpacePartitioner
- Product
- Equals
- Partitioner
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SpacePartitioner(bounds: Bounds[K])(implicit arg0: Boundable[K], arg1: ClassTag[K], index: PartitionerIndex[K])
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
-
def
apply[V, M](rdd: RDD[(K, V)] with Metadata[M])(implicit arg0: ClassTag[V], arg1: GetComponent[M, Bounds[K]]): RDD[(K, V)] with Metadata[Bounds[K]]
Use this partitioner as a partitioner for rdd.
Use this partitioner as a partitioner for rdd. The rdd may have a SpacePartitioner already. If it is in sync with Bounds in the Metadata and PartitionIndex we assume it to be valid . Otherwise we assume it has degraded to be a hash partitioner and we must perform a shuffle.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bounds: Bounds[K]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def containsKey(key: Any): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
getPartition(key: Any): Int
- Definition Classes
- SpacePartitioner → Partitioner
-
def
hasSameIndex(other: SpacePartitioner[K]): Boolean
Is another space partitioner compatible in the sense of key to index mapping?
- implicit val index: PartitionerIndex[K]
-
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
- SpacePartitioner → Partitioner
-
def
regionIndex(region: BigInt): Option[Int]
Map given spatial region index to offset in region array (aka partition id)
- val regions: Array[BigInt]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()