[ 
https://issues.apache.org/jira/browse/SPARK-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225632#comment-14225632
 ] 

Patrick Wendell commented on SPARK-4613:
----------------------------------------

Yeah the only other tricky bit is the class tag needed during construction. If 
we write a static method it could just create a fake classtag like we do 
elsewhere in the java API (use the tag of object).

We may also be able to implement this all as a second constructor. However, I'm 
not sure the classtag trick would work then.

We should also document wherever we add this function that you need to call 
toJavaRDD on the result. This is already part of the standard Java API but it 
wouldn't hurt.

> Make JdbcRDD easier to use from Java
> ------------------------------------
>
>                 Key: SPARK-4613
>                 URL: https://issues.apache.org/jira/browse/SPARK-4613
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Matei Zaharia
>
> We might eventually deprecate it, but for now it would be nice to expose a 
> Java wrapper that allows users to create this using the java function 
> interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to