Class

com.spotify.noether

MultiAggregatorMap

Related Doc: package noether

Permalink

case class MultiAggregatorMap[-A, B, +C](aggregatorsMap: List[(String, Aggregator[A, B, C])]) extends Aggregator[A, List[B], Map[String, C]] with Product with Serializable

Aggregator which combines an unbounded list of other aggregators. Each aggregator in the list is tagged by a string. The string(aka name) could be used to retrieve the aggregated value from the Map emitted by the "present" function.

Linear Supertypes
Serializable, Product, Equals, Aggregator[A, List[B], Map[String, C]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiAggregatorMap
  2. Serializable
  3. Product
  4. Equals
  5. Aggregator
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiAggregatorMap(aggregatorsMap: List[(String, Aggregator[A, B, C])])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val aggregatorsMap: List[(String, Aggregator[A, B, C])]

    Permalink
  5. def andThenPresent[D](present2: (Map[String, C]) ⇒ D): Aggregator[A, List[B], D]

    Permalink
    Definition Classes
    Aggregator
  6. def append(l: List[B], r: A): List[B]

    Permalink
    Definition Classes
    Aggregator
  7. def appendAll(old: List[B], items: TraversableOnce[A]): List[B]

    Permalink
    Definition Classes
    Aggregator
  8. def apply(inputs: TraversableOnce[A]): Map[String, C]

    Permalink
    Definition Classes
    Aggregator
  9. def applyCumulatively[In <: TraversableOnce[A], Out](inputs: In)(implicit bf: CanBuildFrom[In, Map[String, C], Out]): Out

    Permalink
    Definition Classes
    Aggregator
  10. def applyOption(inputs: TraversableOnce[A]): Option[Map[String, C]]

    Permalink
    Definition Classes
    Aggregator
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. def composePrepare[A1](prepare2: (A1) ⇒ A): Aggregator[A1, List[B], Map[String, C]]

    Permalink
    Definition Classes
    Aggregator
  14. def cumulativeIterator(inputs: Iterator[A]): Iterator[Map[String, C]]

    Permalink
    Definition Classes
    Aggregator
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def join[A2 <: A, B2, C2](that: Aggregator[A2, B2, C2]): Aggregator[A2, (List[B], B2), (Map[String, C], C2)]

    Permalink
    Definition Classes
    Aggregator
  19. def lift: MonoidAggregator[A, Option[List[B]], Option[Map[String, C]]]

    Permalink
    Definition Classes
    Aggregator
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def prepare(input: A): List[B]

    Permalink
    Definition Classes
    MultiAggregatorMap → Aggregator
  24. def present(reduction: List[B]): Map[String, C]

    Permalink
    Definition Classes
    MultiAggregatorMap → Aggregator
  25. def reduce(items: TraversableOnce[List[B]]): List[B]

    Permalink
    Definition Classes
    Aggregator
  26. def reduce(l: List[B], r: List[B]): List[B]

    Permalink
    Definition Classes
    Aggregator
  27. def reduceOption(items: TraversableOnce[List[B]]): Option[List[B]]

    Permalink
    Definition Classes
    Aggregator
  28. def semigroup: Semigroup[List[B]]

    Permalink
    Definition Classes
    MultiAggregatorMap → Aggregator
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toFold: Fold[A, Option[Map[String, C]]]

    Permalink
    Definition Classes
    Aggregator
  31. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def zip[A2, B2, C2](ag2: Aggregator[A2, B2, C2]): Aggregator[(A, A2), (List[B], B2), (Map[String, C], C2)]

    Permalink
    Definition Classes
    Aggregator

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Aggregator[A, List[B], Map[String, C]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped