object
Aggregate
Type Members
-
case class
Aggregation[A, K](key: (A) ⇒ K, filter: (A) ⇒ Boolean, operator: Operator[A]) extends Product with Serializable
-
type
Aggretator[A, K] = (Aggregation[A, K]) ⇒ Float
-
sealed
trait
Operator[+A] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
def
aggregate[K, A, B](f: (K) ⇒ (Aggretator[A, Key0]) ⇒ B)(dict: Dict[K, List[A]]): List[B]
-
def
aggregateHelp[A, K](getKey: (A) ⇒ K, op: Operator[A], list: List[A]): Map[K, Double]
-
def
aggregateMap[A, B, Key1](agg1: Aggregation[A, Key1])(f: (Double) ⇒ (A) ⇒ B)(list: List[A]): List[B]
-
def
aggregateMap2[A, B, Key1, Key2](agg1: Aggregation[A, Key1])(agg2: Aggregation[A, Key2])(f: (Double) ⇒ (Double) ⇒ (A) ⇒ B)(list: List[A]): List[B]
-
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]
-
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]
-
final
def
asInstanceOf[T0]: T0
-
def
averageOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
-
def
byKey[A, K](k: (A) ⇒ K)(agg: Aggregation[A, _]): Aggregation[A, K]
-
def
clone(): AnyRef
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
groupBy[A, K](getKey: (A) ⇒ K)(list: List[A]): Dict[K, List[A]]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
maximumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
-
def
minimumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
def
sumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
-
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
weightedAverageOf[A](getWeight: (A) ⇒ Double, getValue: (A) ⇒ Double): Aggregation[A, Key0]
-
Inherited from AnyRef
Inherited from Any