Separate all values from Iterable

2015-10-27 Thread Shams ul Haque
Hi, I have grouped all my customers in JavaPairRDD by there customerId (of Long type). Means every customerId have a List or ProductBean. Now i want to save all ProductBean to DB irrespective of customerId. I got all values by using method JavaRDD values =

Re: Separate all values from Iterable

2015-10-27 Thread Adrian Tanase
que Date: Tuesday, October 27, 2015 at 12:50 PM To: "user@spark.apache.org<mailto:user@spark.apache.org>" Subject: Separate all values from Iterable Hi, I have grouped all my customers in JavaPairRDD<Long, Iterable> by there customerId (of Long type). Means eve