avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1127) Make generateMethodName utility methods public and allow adding a suffix
Date Tue, 20 May 2014 02:44:38 GMT

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

Lewis John McGibbney commented on AVRO-1127:

hi [~ekohlwey] [~cutting], I came across a TODO in GoraCompiler and was directed here

"This is dirty. We need to file a bug in avro to get them to open the API so other compilers
can use their utility methods"


>From what I see this issue was abandoned... it does not really affect Gora in any major
fashion, but I just though I would follow it up anyway. Does anyone have comments on the proposed
patch... which IMHO is not a bug fix but more like an improvement.

> Make generateMethodName utility methods public and allow adding a suffix
> ------------------------------------------------------------------------
>                 Key: AVRO-1127
>                 URL: https://issues.apache.org/jira/browse/AVRO-1127
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.0, 1.7.1
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>            Priority: Minor
>         Attachments: AVRO-1127.patch
> generateMethodName should be visible and allow a suffix.
> The particular use case for this is that Gora will be generating it's own implementation
of Avro classes that support marking fields with a dirty bit to reduce the overhead when writing
back to a data store, so we need a utility to generate appropriate method names for checking
the dirty state, ie. isFieldNameDirty()

This message was sent by Atlassian JIRA

View raw message