Re: ReflectData and enum

2025-04-04 Thread Bagi
;getName()' and 'getEnumConstants()' to get name and values. Regards, Bagi On Wed, 2 Apr 2025, 09:31 Bagi, wrote: > Hi Martin, > > Many thanks for your reply. I am not saying it's behaving incorrectly, > just trying to find a way to have the enum shown in the schema. I have >

Re: ReflectData and enum

2025-04-03 Thread Bagi
eed an instance of the type, i. e. a class > field. > > On Wed, 2 Apr 2025 at 12:20, Bagi wrote: > >> Just wanted to add that the Java reflection is able to fetch the enum >> like in the example I posted earlier: >> >> Class myClass = AvroTest.class; >> Clas

Re: ReflectData and enum

2025-04-02 Thread Bagi
at is possible. Right now, my schema is incomplete. Regards, Bagi On Wed, 2 Apr 2025, 07:22 Martin Grigorov, wrote: > Hi, > > IMO it behaves correctly! > > AvroTest class is mapped to a Record schema and its class fields are > mapped to record fields. > > What kind of schema

ReflectData and enum

2025-04-01 Thread Bagi
to @AvroName annotation but for enums? Regards, Bagi