Object

com.salesforce.op.aggregators

GeolocationMidpoint

Related Doc: package aggregators

Permalink

object GeolocationMidpoint extends MonoidAggregator[Event[Geolocation], Array[Double], Geolocation] with GeolocationFunctions with Product with Serializable

Geolocation doesn't support concatenation since each list really represents just one object, instead its default will be the geographic midpoint (found by averaging corresponding x,y,z coordinates and then projecting that point onto the surface of the Earth)

Linear Supertypes
Serializable, Product, Equals, GeolocationFunctions, MonoidAggregator[Event[Geolocation], Array[Double], Geolocation], Aggregator[Event[Geolocation], Array[Double], Geolocation], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeolocationMidpoint
  2. Serializable
  3. Product
  4. Equals
  5. GeolocationFunctions
  6. MonoidAggregator
  7. Aggregator
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 Zero: Array[Double]

    Permalink
    Definition Classes
    GeolocationFunctions
  5. def andThenPresent[D](present2: (Geolocation) ⇒ D): MonoidAggregator[Event[Geolocation], Array[Double], D]

    Permalink
    Definition Classes
    MonoidAggregator → Aggregator
  6. def append(l: Array[Double], r: Event[Geolocation]): Array[Double]

    Permalink
    Definition Classes
    Aggregator
  7. def appendAll(items: TraversableOnce[Event[Geolocation]]): Array[Double]

    Permalink
    Definition Classes
    MonoidAggregator
  8. def appendAll(old: Array[Double], items: TraversableOnce[Event[Geolocation]]): Array[Double]

    Permalink
    Definition Classes
    Aggregator
  9. def apply(inputs: TraversableOnce[Event[Geolocation]]): Geolocation

    Permalink
    Definition Classes
    Aggregator
  10. def applyCumulatively[In <: TraversableOnce[Event[Geolocation]], Out](inputs: In)(implicit bf: CanBuildFrom[In, Geolocation, Out]): Out

    Permalink
    Definition Classes
    Aggregator
  11. def applyOption(inputs: TraversableOnce[Event[Geolocation]]): Option[Geolocation]

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collectBefore[A2](fn: PartialFunction[A2, Event[Geolocation]]): MonoidAggregator[A2, Array[Double], Geolocation]

    Permalink
    Definition Classes
    MonoidAggregator
  15. def composePrepare[A2](prepare2: (A2) ⇒ Event[Geolocation]): MonoidAggregator[A2, Array[Double], Geolocation]

    Permalink
    Definition Classes
    MonoidAggregator → Aggregator
  16. def cumulativeIterator(inputs: Iterator[Event[Geolocation]]): Iterator[Geolocation]

    Permalink
    Definition Classes
    Aggregator
  17. def either[A2, B2, C2](that: MonoidAggregator[A2, B2, C2]): MonoidAggregator[Either[Event[Geolocation], A2], (Array[Double], B2), (Geolocation, C2)]

    Permalink
    Definition Classes
    MonoidAggregator
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def filterBefore[A1 <: Event[Geolocation]](pred: (A1) ⇒ Boolean): MonoidAggregator[A1, Array[Double], Geolocation]

    Permalink
    Definition Classes
    MonoidAggregator
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  24. def isNone(data: Array[Double]): Boolean

    Permalink
    Definition Classes
    GeolocationFunctions
  25. def join[A2 <: Event[Geolocation], B2, C2](that: Aggregator[A2, B2, C2]): Aggregator[A2, (Array[Double], B2), (Geolocation, C2)]

    Permalink
    Definition Classes
    Aggregator
  26. def lift: MonoidAggregator[Event[Geolocation], Option[Array[Double]], Option[Geolocation]]

    Permalink
    Definition Classes
    Aggregator
  27. val monoid: Monoid[Array[Double]]

    Permalink
    Definition Classes
    GeolocationMidpoint → MonoidAggregator
  28. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def prepare(input: Event[Geolocation]): Array[Double]

    Permalink
    Definition Classes
    GeolocationMidpoint → Aggregator
  32. def present(data: Array[Double]): Geolocation

    Permalink

    Present method to be used in the MonoidAggregator for Geolocation objects

    Present method to be used in the MonoidAggregator for Geolocation objects

    data

    Array of (x,y,z,acc,count) to be used by the arrayMonoid during aggregation

    returns

    Geolocation object corresponding to aggregated x,y,z coordinates

    Definition Classes
    GeolocationFunctions
  33. final def reduce(items: TraversableOnce[Array[Double]]): Array[Double]

    Permalink
    Definition Classes
    MonoidAggregator → Aggregator
  34. def reduce(l: Array[Double], r: Array[Double]): Array[Double]

    Permalink
    Definition Classes
    Aggregator
  35. def reduceOption(items: TraversableOnce[Array[Double]]): Option[Array[Double]]

    Permalink
    Definition Classes
    Aggregator
  36. def semigroup: Monoid[Array[Double]]

    Permalink
    Definition Classes
    MonoidAggregator → Aggregator
  37. def sumBefore: MonoidAggregator[TraversableOnce[Event[Geolocation]], Array[Double], Geolocation]

    Permalink
    Definition Classes
    MonoidAggregator
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toFold: Fold[Event[Geolocation], Option[Geolocation]]

    Permalink
    Definition Classes
    Aggregator
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def zip[A2, B2, C2](ag2: MonoidAggregator[A2, B2, C2]): MonoidAggregator[(Event[Geolocation], A2), (Array[Double], B2), (Geolocation, C2)]

    Permalink
    Definition Classes
    MonoidAggregator
  44. def zip[A2, B2, C2](ag2: Aggregator[A2, B2, C2]): Aggregator[(Event[Geolocation], A2), (Array[Double], B2), (Geolocation, C2)]

    Permalink
    Definition Classes
    Aggregator

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GeolocationFunctions

Inherited from MonoidAggregator[Event[Geolocation], Array[Double], Geolocation]

Inherited from Aggregator[Event[Geolocation], Array[Double], Geolocation]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped