[
https://issues.apache.org/jira/browse/AVRO-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119651#comment-13119651
]
Raghu Angadi commented on AVRO-804:
-----------------------------------
Thanks Doug. ThriftData implementation looks simpler than I thought. I am going
to play with this code and write tests similar to Protobuf.
- for Thrift 0.5 support we might need to handle couple of quirks (absence of
isBuffer() etc). I can add those if required.
> return (Map<TFieldIdEnum,FieldMetaData>)c.getField("metaDataMap").get(null);
FieldMetaData.getStructMetaDataMap(c) returns this map.
> Java: add ThriftDatumWriter and ThriftDatumReader
> -------------------------------------------------
>
> Key: AVRO-804
> URL: https://issues.apache.org/jira/browse/AVRO-804
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Doug Cutting
> Assignee: Raghu Angadi
> Fix For: 1.6.0
>
> Attachments: AVRO-804.patch
>
>
> Add a ThriftDatumWriter that accepts Thrift-generated classes and writes them
> in Avro format, and a ThriftDatumReader that reads Avro data into a
> Thrift-generated class. This would permit storage of Thrift-generated data
> structures in Avro data files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira