avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-200) Let Utf8 implement java.io.Serializable
Date Mon, 16 Nov 2009 19:42:39 GMT

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

View raw message