How to get the class name of the java object in python
286 views
Skip to first unread message
Jeff Zhang
unread,
Dec 11, 2015, 4:03:08 AM12/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Py4J Support and Comments
type function only tell me that it is java object, but I want to know the class name of the this java object. How can I achieve that ? BTW, is there any python api doc for py4j. I didn't find it. Thanks
>>> type(rdd._jrdd)
<class 'py4j.java_gateway.JavaObject'>
Jeff Zhang
unread,
Dec 11, 2015, 4:06:10 AM12/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message