All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.spark.streaming.talos.TalosRDDPartition.scala Maven / Gradle / Ivy

package org.apache.spark.streaming.talos

import org.apache.spark.Partition

/**
 * Created by jiasheng on 16-3-15.
 */
private[talos]
class TalosRDDPartition(
  val index: Int,
  val offsetRange: OffsetRange
) extends Partition {
  def count(): Long = offsetRange.untilOffset - offsetRange.fromOffset
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy