object Buffer
- Alphabetic
- By Inheritance
- Buffer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class GroupMap(map: BufferInt, numGroups: Int, groupSizes: BufferInt) extends Product with Serializable
Map of unique items
Map of unique items
- map
An int buffer of the same length as the original buffer, each value is an integer in [0,n) where n is the number of unique items. All items in the original buffer share the same value in map
- numGroups
number of unique items
- groupSizes
number of repeats per unique items, the values of map indexes groupSizes
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def computeGroups[B2 <: Buffer { type BufferType = B2 }](columns: Seq[Seq[B2]]): GroupMap
Returns an int buffer with the same number of elements.
Returns an int buffer with the same number of elements. Each element is [0,num), the group number in which that element belongs Also returns number of groups Also returns a buffer with number of elements in each group
- columns
seq of columns, each column sequence of buffres
- def computePartitions(buffers: Vector[Buffer], num: Int): BufferInt
Returns an int buffer with the same number of elements.
Returns an int buffer with the same number of elements. Each element is [0,num), the partition number in which that element belongs
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)