o

morphir.sdk

Aggregate

object Aggregate

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Aggregate
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Aggregation[A, K](key: (A) ⇒ K, filter: (A) ⇒ Boolean, operator: Operator[A]) extends Product with Serializable
  2. type Aggretator[A, K] = (Aggregation[A, K]) ⇒ Float
  3. sealed trait Operator[+A] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregate[K, A, B](f: (K) ⇒ (Aggretator[A, Key0]) ⇒ B)(dict: Dict[K, List[A]]): List[B]
  5. def aggregateHelp[A, K](getKey: (A) ⇒ K, op: Operator[A], list: List[A]): Map[K, Double]
  6. def aggregateMap[A, B, Key1](agg1: Aggregation[A, Key1])(f: (Double) ⇒ (A) ⇒ B)(list: List[A]): List[B]
  7. def aggregateMap2[A, B, Key1, Key2](agg1: Aggregation[A, Key1])(agg2: Aggregation[A, Key2])(f: (Double) ⇒ (Double) ⇒ (A) ⇒ B)(list: List[A]): List[B]
  8. def aggregateMap3[A, B, Key1, Key2, Key3](agg1: Aggregation[A, Key1])(agg2: Aggregation[A, Key2])(agg3: Aggregation[A, Key3])(f: (Double) ⇒ (Double) ⇒ (Double) ⇒ (A) ⇒ B)(list: List[A]): List[B]
  9. def aggregateMap4[A, B, Key1, Key2, Key3, Key4](agg1: Aggregation[A, Key1])(agg2: Aggregation[A, Key2])(agg3: Aggregation[A, Key3])(agg4: Aggregation[A, Key4])(f: (Double) ⇒ (Double) ⇒ (Double) ⇒ (Double) ⇒ (A) ⇒ B)(list: List[A]): List[B]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def averageOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
  12. def byKey[A, K](k: (A) ⇒ K)(agg: Aggregation[A, _]): Aggregation[A, K]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def count[A]: Aggregation[A, Key0]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def groupBy[A, K](getKey: (A) ⇒ K)(list: List[A]): Dict[K, List[A]]
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def maximumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
  23. def minimumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def operatorToAggregation[A](op: Operator[A]): Aggregation[A, Key0]
  28. def sumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. def weightedAverageOf[A](getWeight: (A) ⇒ Double, getValue: (A) ⇒ Double): Aggregation[A, Key0]
  35. def withFilter[A, K](f: (A) ⇒ Bool)(agg: Aggregation[A, K]): Aggregation[A, K]
  36. object Operator

Inherited from AnyRef

Inherited from Any

Ungrouped