i’ve an Avro generated class - com.avro.Person
which has a method -> getClassSchema
I’m passing className to a method, and in the method - i need to get the Avro schema
Here is the code i’m using -
val pr = Class.forName(productCls) //where productCls = classOf[Product].getName
How do i call the method - getClassSchema of this class ?