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

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


+
Christopher Ng 2013-09-02, 18:00
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) {
>     ...
> }
>
+
Doug Cutting 2013-09-11, 18:03