Re: Recommended ways to pass functions

2014-09-23 Thread Yanbo Liang
> class{ > def func1() = { > rdd.map(x=>MyFunc.func2()) > } > > object MyFunc{ > def func2() = {...} > } > } > > Thanks in advance. > > Kevin > > > > -- > View this message in context: > http://apache-spark-user-l

Recommended ways to pass functions

2014-09-23 Thread Kevin Jung
Recommended-ways-to-pass-functions-tp14875.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org