You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/05/20 04:44:38 UTC

[jira] [Commented] (AVRO-1127) Make generateMethodName utility methods public and allow adding a suffix

    [ 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"

http://s.apache.org/aet

>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
(v6.2#6252)