Java 8 lambdas

2015-08-18 Thread Kristoffer Sjögren
Hi

Is there a way to execute spark jobs with Java 8 lambdas instead of
using anonymous inner classes as seen in the examples?

I think I remember seeing real lambdas in the examples before and in
articles [1]?

Cheers,
-Kristoffer

[1] 
http://blog.cloudera.com/blog/2014/04/making-apache-spark-easier-to-use-in-java-with-java-8

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Java 8 lambdas

2015-08-18 Thread Sean Owen
Yes, it should Just Work. lambdas can be used for any method that
takes an instance of an interface with one method, and that describes
Function, PairFunction, etc.

On Tue, Aug 18, 2015 at 3:23 PM, Kristoffer Sjögren sto...@gmail.com wrote:
 Hi

 Is there a way to execute spark jobs with Java 8 lambdas instead of
 using anonymous inner classes as seen in the examples?

 I think I remember seeing real lambdas in the examples before and in
 articles [1]?

 Cheers,
 -Kristoffer

 [1] 
 http://blog.cloudera.com/blog/2014/04/making-apache-spark-easier-to-use-in-java-with-java-8

 -
 To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
 For additional commands, e-mail: user-h...@spark.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org