avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-757) Allow a DataFile to be reopened without reading the head
Date Sat, 05 Feb 2011 00:15:30 GMT

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

Doug Cutting commented on AVRO-757:
-----------------------------------

Overall this looks good.  Some quick comments:
 - the Handle fields should not be public, but private, perhaps with accessor methods.
 - the Handle constructor should be private or package-private, not protected, since it should
not appear in javadoc.
 - can we call it a Header instead of a Handle, to be consistent with the spec?


> Allow a DataFile to be reopened without reading the head
> --------------------------------------------------------
>
>                 Key: AVRO-757
>                 URL: https://issues.apache.org/jira/browse/AVRO-757
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>              Labels: file
>             Fix For: 1.5.0
>
>         Attachments: 0001-Move-header-state-into-a-Handle-object.txt, 0002-Expose-Handle-for-use-in-DataFileReader-and-test-usage.txt
>
>
> It is useful to be able to re-open a file without needing to seek to the head of the
stream to collect metadata and schema that you've read before.

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

        

Mime
View raw message