You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Tanya Bansal <ta...@gmail.com> on 2013/01/07 20:21:40 UTC
Setters and getters
Is it necessary to write setters and getters for all member variables for a
class that is going to be serialized by Avro?
Thanks
-Tanya
Re: Setters and getters
Posted by Scott Carey <sc...@apache.org>.
No. However each API (Specific, Reflect, Generic in Java) has different
limitations and use cases. You'll have to provide more information about
your use cases and expectations for more specific guidance.
On 1/7/13 11:21 AM, "Tanya Bansal" <ta...@gmail.com> wrote:
> Is it necessary to write setters and getters for all member variables for a
> class that is going to be serialized by Avro?
>
> Thanks
> -Tanya