Apache Spark Basics

44 / 87
   

Is this a good way to find elements starting with "cloudxlab" inside an rdd having strings as records: myrdd.collect().filter(_.startsWith("cloudxlab"))