Hi, I'm kind of new to Avro, and I couldn't find an example on this by
googling. I have a Java enum that looks like this:
public enum G_CanonicalPropertyType {
FOO(10, "Foo", "foo is not food"),
BAR(11, "Bar", "bar is like a snickers"),
BAZ(12, "Baz", "baz is a widget with wings");
private int index;
private String friendlyName;
private String description;
//then constructor and getters
}
Where the fields for each enum are important (there are also getters and
setters for them)
I'm trying to write an Avro avdl version of this, what's the best way?
Thanks,
Dan