Re: Re: is there any easier way to define a custom RDD in Java

2015-05-25 Thread Ted Yu
Please take a look at: core/src/main/scala/org/apache/spark/api/java/JavaRDD.scala core/src/test/java/org/apache/spark/JavaJdbcRDDSuite.java Cheers On Mon, May 25, 2015 at 8:39 PM, swaranga wrote: > Has this changed now? Can a new RDD be implemented in Java? > > > > -- > View this message in c

Re: Re: is there any easier way to define a custom RDD in Java

2015-05-25 Thread swaranga
Has this changed now? Can a new RDD be implemented in Java? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/is-there-any-easier-way-to-define-a-custom-RDD-in-Java-tp6917p23027.html Sent from the Apache Spark User List mailing list archive at Nabble.com. ---

Re: Re: is there any easier way to define a custom RDD in Java

2014-06-04 Thread bluejoe2008
easier way to define a custom RDD in Java Hey There, This is only possible in Scala right now. However, this is almost never needed since the core API is fairly flexible. I have the same question as Andrew... what are you trying to do with your RDD? - Patrick On Wed, Jun 4, 2014 at 7:49 AM, Andrew Ash

Re: is there any easier way to define a custom RDD in Java

2014-06-04 Thread Patrick Wendell
Hey There, This is only possible in Scala right now. However, this is almost never needed since the core API is fairly flexible. I have the same question as Andrew... what are you trying to do with your RDD? - Patrick On Wed, Jun 4, 2014 at 7:49 AM, Andrew Ash wrote: > Just curious, what do you

Re: is there any easier way to define a custom RDD in Java

2014-06-04 Thread Andrew Ash
Just curious, what do you want your custom RDD to do that the normal ones don't? On Wed, Jun 4, 2014 at 6:30 AM, bluejoe2008 wrote: > hi, folks, > is there any easier way to define a custom RDD in Java? > I am wondering if I have to define a new java class which extends RDD > from scra