Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Converting POJO to Generic or Indexed Records

$
0
0
HI ,
I have complicated nested POJOs. I am able to generate the schema using
ReflectData tool.
I want to convert them to Generic Record preferably or Indexed Records. I
dnt want to hand code and set each and every nested member.
I there a way similar to reflection where I can convert POJOs to generic
record say through a API call or similar. The generated schema through
reflection can be used here I guess.

Viewing all articles
Browse latest Browse all 5648

Trending Articles