You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/11/16 20:42:39 UTC

[jira] Commented: (AVRO-200) Let Utf8 implement java.io.Serializable

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

Doug Cutting commented on AVRO-200:
-----------------------------------

Wouldn't all Avro data-representation classes need to be serializeable for this to be useful?

Also, note that you could, e.g. override GenericDatumReader#createString() to return a subclass of Utf8 that implements Serializeable.

> Let Utf8 implement java.io.Serializable
> ---------------------------------------
>
>                 Key: AVRO-200
>                 URL: https://issues.apache.org/jira/browse/AVRO-200
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.2.0
>            Reporter: Eelco Hillenius
>            Priority: Minor
>             Fix For: 1.2.1
>
>
> Is there any reason that Utf8 is not serializable? I can't think of any problems with letting it implement the Serializable interface. Which I would like because then I can send my Avro objects over the wire/ serialize them with other mechanisms than Avro.

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