trait
Cogrouper[K] extends AnyRef
Type Members
-
abstract
type
State
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Cogrouper[K], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Cogrouper[K], B)
Inherited by implicit conversion any2stringadd from
Cogrouper[K] to any2stringadd[Cogrouper[K]]
Inherited by implicit conversion StringFormat from
Cogrouper[K] to StringFormat[Cogrouper[K]]
Cogrouper
provides the abstraction used byIndex.cogroup
to work with the result of a cogroup. Essentially, the cogroup will initiate some state, then perform a cogroup on the 2 Indexes, with each unique key resulting in one call tocogroup
. The reason the signature is a bit weird, with the start/end offsets being passed in is to avoid copying and allocation where possible. All implementations of Index can perform this operation efficiently.