object Aggregate
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Aggregate
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- Definition Classes
- Any
- 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
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def count[A]: Aggregation[A, Key0]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[A, K](getKey: (A) ⇒ K)(list: List[A]): Dict[K, List[A]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maximumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
- def minimumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def operatorToAggregation[A](op: Operator[A]): Aggregation[A, Key0]
- def sumOf[A](f: (A) ⇒ Double): Aggregation[A, Key0]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def weightedAverageOf[A](getWeight: (A) ⇒ Double, getValue: (A) ⇒ Double): Aggregation[A, Key0]
- def withFilter[A, K](f: (A) ⇒ Bool)(agg: Aggregation[A, K]): Aggregation[A, K]
- object Operator