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] [Updated] (AVRO-1502) Avro objects should implement Serializable
Date Fri, 31 Oct 2014 23:59:34 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-1502:
-------------------------------
    Attachment: serializeable_base.patch

It's possible.  The existing implementation generates code that caches a DatumReader per generated
class.

Here's an (untested) implementation that should require no per-class methods.  We could remove
the code generation, or perhaps leave it as an optimization.  Some benchmarking would help
determine whether it was premature or not.

> Avro objects should implement Serializable
> ------------------------------------------
>
>                 Key: AVRO-1502
>                 URL: https://issues.apache.org/jira/browse/AVRO-1502
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Jeff Hammerbacher
>            Assignee: Doug Cutting
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1502.patch, AVRO-1502.patch, serializeable_base.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message