43 - Spark RDD Transformations - filter() - Code Demo

preview_player
Показать описание
@backstreetbrogrammer

--------------------------------------------------------------------------------
Chapter 07 - Spark RDD Transformations - filter() - Code Demo
--------------------------------------------------------------------------------
Transformation: filter(func)
Return a new dataset formed by selecting those elements of the source on which func returns true.

As RDDs are immutable, after applying the filter transformation, new RDD is created.

Example:

#java #javadevelopers #javaprogramming #apachespark #spark
Рекомендации по теме