avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Metcalf (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-226) Update avro file io to use buffered readers and writers
Date Fri, 20 Nov 2009 05:49:40 GMT
Update avro file io to use buffered readers and writers
-------------------------------------------------------

                 Key: AVRO-226
                 URL: https://issues.apache.org/jira/browse/AVRO-226
             Project: Avro
          Issue Type: Improvement
          Components: c
            Reporter: Chad Metcalf


Currently the file readers and writers just read enough to cover the requested length. In
order to minimize reads they have been updated to use buffers. This patch also changes the
return values to match typical read/write semantics. They now read as much as possible and
return the number of bytes read/written or -1 on error. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message