The Schema#getProps() method was added as a part of AVRO-803 and is
included in Avro 1.6.

http://avro.apache.org/docs/current/api/java/org/apache/avro/Schema.html#getProps()

Doug

On 11/18/2011 07:44 AM, Tom Burger wrote:
> Hey avro users,
> 
> another question. I want all the properties defined on a schema (and
> field). Since the user defines them at runtime I don't know how to get
> them all.
> 
> So far I've been using the AccessibleObject.setAccessible(true) on the
> props field but that is really ugly.
> 
> Any reason for not having a getProps() or getPropNames()?
> 
> Regards, Tom
> 
> -- 
> Tom Burger | [email protected] <mailto:[email protected]> | +31 (0)62
> 412 20 27
> http://www.linkedin.com/in/tvburger

Reply via email to