To facilitate working with Avro in Scala, I'd like to define a case class based on the schema stored with a .avro file. I could try:
- Writing a .scala case class definition by hand.
- Programmatically writing strings to a .scala file
- Spoof the case class definition with a bytecode library like ObjectWeb's ASM
- SpecificCompiler tricks?
- Modifying an existing case classed definition at runtime?
Thanks, any advice is appreciated. -Julian