You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/09/02 07:22:04 UTC

[jira] Updated: (AVRO-652) Expose sync points in DataFileReader

     [ https://issues.apache.org/jira/browse/AVRO-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stu Hood updated AVRO-652:
--------------------------

    Component/s: java

> Expose sync points in DataFileReader
> ------------------------------------
>
>                 Key: AVRO-652
>                 URL: https://issues.apache.org/jira/browse/AVRO-652
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Stu Hood
>            Priority: Minor
>
> DataFileReader.blockStart is hidden from the caller, but exposing it (as readonly) would allow callers to discover sync points in a file by watching it for changes.
> seek(long) only takes an exact block boundary, while sync(long) moves to the next block boundary. There does not appear to be a way to rediscover points that you can seek() to, which would be very useful for building or recovering an index for a file.

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