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 2011/07/07 00:27:16 UTC

[jira] [Updated] (AVRO-805) Java: add ProtobufDatumReader and ProtobufDatumWriter

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

Doug Cutting updated AVRO-805:
------------------------------

    Attachment: AVRO-805.patch

Here's an initial implementation of this.  It still doesn't have full support & tests for enums, repeated fields, etc.

Probably all protobuf 'optional' fields should be interpreted as unions with null.

> Java: add ProtobufDatumReader and ProtobufDatumWriter
> -----------------------------------------------------
>
>                 Key: AVRO-805
>                 URL: https://issues.apache.org/jira/browse/AVRO-805
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>             Fix For: 1.6.0
>
>         Attachments: AVRO-805.patch
>
>
> Add a ProtobufDatumWriter that accepts ProtocolBuffer-generated classes and writes them in Avro format, and a ProtobufDatumReader that reads Avro data into a Protobuf-generated class. This would permit storage of Protobuf-generated data structures in Avro data files.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira