avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-652) Expose sync points in DataFileReader
Date Thu, 02 Sep 2010 05:22:04 GMT

     [ 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.

View raw message