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/04/20 01:14:05 UTC

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

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

Doug Cutting commented on AVRO-805:
-----------------------------------

Protobuf-generated classes extend Message, which permits efficient access to field values.  The list of Protobuf fields can also be obtained through Protobuf's Message interface, permitting construction of an equivalent Avro schema.

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