https://spark.apache.org/docs/latest/api/java/org/apache/spark/rdd/JdbcRDD.html#JdbcRDD(org.apache.spark.SparkContext, scala.Function0, java.lang.String, long, long, int, scala.Function1, scala.reflect.ClassTag)
I don't think there is a completely Java-friendly version of this class. However you should be able to get away with passing something generic like "ClassTag$.MODULE$.<K>apply(Object.class)" There's probably something even simpler. On Sun, Aug 31, 2014 at 3:07 PM, Ahmad Osama <aos...@gmail.com> wrote: > hi, > > is there a simple example for jdbcRDD from JAVA and not scala, > > trying to figure out the last parameter in the constructor of jdbcRDD > > thanks --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org