Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> SpecificRecord primitive fields


Copy link to this message
-
Re: SpecificRecord primitive fields
is there any reason why this can't be changed, or added as an option?
On Mon, Sep 2, 2013 at 7:00 PM, Christopher Ng <[EMAIL PROTECTED]> wrote:

> why do primitive fields in generated classes still have boxed getters and
> setters?
>
> eg
>
> private int x;
>
> ...
>
> public java.lang.Integer getX() {
>     ...
> }
>
> public void setX(java.lang.Integer x) {
>     ...
> }
>