Unsubscribe
Unsubscribe
Re: ReflectData and enum
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; Class[] declaredClasses = myClass.getDeclaredClasses(); Then loop through declaredClasses, check if its 'isEnum()', if yes - 'getName()' and 'getEnumConstant