avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharad Agarwal (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-32) Generated classes should override equals and hashcode
Date Thu, 14 May 2009 05:48:45 GMT

    [ https://issues.apache.org/jira/browse/AVRO-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709274#action_12709274

Sharad Agarwal commented on AVRO-32:

Are you suggesting we add "order" with each field in record schema ? I am worried it may complicate
the schema syntax. Moreover applications may need different ordering with same record objects.
Java anyways has good way of providing the comparators while dealing with ordering.  So rather
application write it on its own.

> Generated classes should override equals and hashcode
> -----------------------------------------------------
>                 Key: AVRO-32
>                 URL: https://issues.apache.org/jira/browse/AVRO-32
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Sharad Agarwal
> It would be good to have equals and hashcode implementation generated as well.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message