com.twitter.scalding.typed

CoGrouped2

class CoGrouped2[K, V, W, R] extends KeyedList[K, R] with Serializable

Linear Supertypes
Serializable, KeyedList[K, R], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CoGrouped2
  2. Serializable
  3. KeyedList
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CoGrouped2(left: Grouped[K, V], right: Grouped[K, W], joiner: (K, Iterator[V], Iterable[W]) ⇒ Iterator[R])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def aggregate[U >: R, B, C](agg: Aggregator[U, B, C]): TypedPipe[(K, C)]

    Use Algebird Aggregator to do the reduction

    Use Algebird Aggregator to do the reduction

    Definition Classes
    KeyedList
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def count(fn: (R) ⇒ Boolean): TypedPipe[(K, Long)]

    Definition Classes
    KeyedList
  10. def drop(n: Int): KeyedList[K, R]

    Selects all elements except first n ones.

    Selects all elements except first n ones.

    Definition Classes
    KeyedList
  11. def dropWhile(p: (R) ⇒ Boolean): KeyedList[K, R]

    Drops longest prefix of elements that satisfy the given predicate.

    Drops longest prefix of elements that satisfy the given predicate.

    Definition Classes
    KeyedList
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def foldLeft[B](z: B)(fn: (B, R) ⇒ B): TypedPipe[(K, B)]

    Definition Classes
    KeyedList
  16. def forall(fn: (R) ⇒ Boolean): TypedPipe[(K, Boolean)]

    Definition Classes
    KeyedList
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def keys: TypedPipe[K]

    Definition Classes
    KeyedList
  21. def mapValueStream[U](fn: (Iterator[R]) ⇒ Iterator[U]): KeyedList[K, U]

    Operate on a Stream[T] of all the values for each key at one time.

    Operate on a Stream[T] of all the values for each key at one time. Avoid accumulating the whole list in memory if you can. Prefer reduce.

    Definition Classes
    CoGrouped2KeyedList
  22. def mapValues[V](fn: (R) ⇒ V): KeyedList[K, V]

    This is a special case of mapValueStream, but can be optimized because it doesn't need all the values for a given key at once.

    This is a special case of mapValueStream, but can be optimized because it doesn't need all the values for a given key at once. An unoptimized implementation is: mapValueStream { _.map { fn } } but for Grouped we can avoid resorting to mapValueStream

    Definition Classes
    KeyedList
  23. def max[B >: R](implicit cmp: Ordering[B]): TypedPipe[(K, R)]

    Definition Classes
    KeyedList
  24. def maxBy[B](fn: (R) ⇒ B)(implicit cmp: Ordering[B]): TypedPipe[(K, R)]

    Definition Classes
    KeyedList
  25. def min[B >: R](implicit cmp: Ordering[B]): TypedPipe[(K, R)]

    Definition Classes
    KeyedList
  26. def minBy[B](fn: (R) ⇒ B)(implicit cmp: Ordering[B]): TypedPipe[(K, R)]

    Definition Classes
    KeyedList
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def product[U >: R](implicit ring: Ring[U]): TypedPipe[(K, U)]

    Definition Classes
    KeyedList
  31. def reduce[U >: R](fn: (U, U) ⇒ U): TypedPipe[(K, U)]

    reduce with fn which must be associative and commutative.

    reduce with fn which must be associative and commutative. Like the above this can be optimized in some Grouped cases. If you don't have a commutative operator, use reduceLeft

    Definition Classes
    KeyedList
  32. def reduceLeft[U >: R](fn: (U, U) ⇒ U): TypedPipe[(K, U)]

    Definition Classes
    KeyedList
  33. def scanLeft[B](z: B)(fn: (B, R) ⇒ B): KeyedList[K, B]

    Definition Classes
    KeyedList
  34. def size: TypedPipe[(K, Long)]

    Definition Classes
    KeyedList
  35. def sum[U >: R](implicit monoid: Monoid[U]): TypedPipe[(K, U)]

    Definition Classes
    KeyedList
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def take(n: Int): KeyedList[K, R]

    Selects first n elements.

    Selects first n elements.

    Definition Classes
    KeyedList
  38. def takeWhile(p: (R) ⇒ Boolean): KeyedList[K, R]

    Takes longest prefix of elements that satisfy the given predicate.

    Takes longest prefix of elements that satisfy the given predicate.

    Definition Classes
    KeyedList
  39. def toList: TypedPipe[(K, List[R])]

    Definition Classes
    KeyedList
  40. def toSet[U >: R]: TypedPipe[(K, Set[U])]

    Definition Classes
    KeyedList
  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. lazy val toTypedPipe: TypedPipe[(K, R)]

    Definition Classes
    CoGrouped2KeyedList
  43. def values: TypedPipe[R]

    Definition Classes
    KeyedList
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from KeyedList[K, R]

Inherited from AnyRef

Inherited from Any

Ungrouped