[ http://issues.apache.org/jira/browse/HADOOP-674?page=comments#action_12454068 ]
Doug Cutting commented on HADOOP-674:
-------------------------------------
Should this be an interface that's implemented by the generated code?
> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
> Key: HADOOP-674
> URL: http://issues.apache.org/jira/browse/HADOOP-674
> Project: Hadoop
> Issue Type: Improvement
> Components: record
> Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be part of the generated
class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|