Re: How to get the code for class in spark

2016-02-20 Thread Michał Zieliński
Probably you mean reflection: https://stackoverflow.com/questions/2224251/reflection-on-a-scala-case-class On 19 February 2016 at 15:14, Ashok Kumar wrote: > Hi, > > class body thanks > > > On Friday, 19 February 2016, 11:23, Ted Yu wrote: > > > Can you clarify your question ? > > Did you mean

Re: How to get the code for class in spark

2016-02-19 Thread Ashok Kumar
Hi, class body thanks On Friday, 19 February 2016, 11:23, Ted Yu wrote: Can you clarify your question ? Did you mean the body of your class ? On Feb 19, 2016, at 4:43 AM, Ashok Kumar wrote: Hi, If I define a class in Scala like case class(col1: String, col2:Int,...) and it is created

Re: How to get the code for class in spark

2016-02-19 Thread Ted Yu
Can you clarify your question ? Did you mean the body of your class ? > On Feb 19, 2016, at 4:43 AM, Ashok Kumar wrote: > > Hi, > > If I define a class in Scala like > > case class(col1: String, col2:Int,...) > > and it is created how would I be able to see its description anytime > > Thank