class CoalescedPartitioner extends Partitioner
A Partitioner that might group together one or more partitions from the parent.
- Alphabetic
- By Inheritance
- CoalescedPartitioner
- Partitioner
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CoalescedPartitioner(parent: Partitioner, partitionStartIndices: Array[Int])
- parent
a parent partitioner
- partitionStartIndices
indices of partitions in parent that should create new partitions in child (this should be an array of increasing partition IDs). For example, if we have a parent with 5 partitions, and partitionStartIndices is [0, 2, 4], we get three output partitions, corresponding to partition ranges [0, 1], [2, 3] and [4] of the parent partitioner.
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- CoalescedPartitioner → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getPartition(key: Any): Int
- Definition Classes
- CoalescedPartitioner → Partitioner
- def hashCode(): Int
- Definition Classes
- CoalescedPartitioner → AnyRef → Any
- 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
- CoalescedPartitioner → Partitioner
- val parent: Partitioner
- val partitionStartIndices: Array[Int]
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()