def sparkWithAlgebird()

in src/main/scala/com/spotify/bdrc/pipeline/Count.scala [65:71]


  def sparkWithAlgebird(input: RDD[Rating]): Long = {
    import com.twitter.algebird.Aggregator.size
    import com.twitter.algebird.spark._
    input.algebird
      // `aggregate` is an action and collects data back to the driver node
      .aggregate(size)
  }