Skip to content
Snippets Groups Projects
  • Patrick Wendell's avatar
    f4d77f8c
    Rename DStream.foreach to DStream.foreachRDD · f4d77f8c
    Patrick Wendell authored
    `foreachRDD` makes it clear that the granularity of this operator is per-RDD.
    As it stands, `foreach` is inconsistent with with `map`, `filter`, and the other
    DStream operators which get pushed down to individual records within each RDD.
    f4d77f8c
    History
    Rename DStream.foreach to DStream.foreachRDD
    Patrick Wendell authored
    `foreachRDD` makes it clear that the granularity of this operator is per-RDD.
    As it stands, `foreach` is inconsistent with with `map`, `filter`, and the other
    DStream operators which get pushed down to individual records within each RDD.