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 2014/11/01 00:59:34 UTC
[jira] [Updated] (AVRO-1502) Avro objects should implement
Serializable
[ 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)