Re: Seeks with DataFileReader in C++

2013-01-30 Thread Thiruvalluvan MG
...@yahoo.com Sent: Tuesday, 29 January 2013 1:01 AM Subject: Re: Seeks with DataFileReader in C++ On Jan 24, 2013, at 8:46 AM, Thiruvalluvan MG thiru...@yahoo.com wrote: Daniel, I think it is a good use case. One way to achieve what you want is to: 1. Expose the existing members

Re: Seeks with DataFileReader in C++

2013-01-28 Thread Daniel Russel
On Jan 24, 2013, at 8:46 AM, Thiruvalluvan MG thiru...@yahoo.com wrote: Daniel, I think it is a good use case. One way to achieve what you want is to: 1. Expose the existing members objectCount_ and byteCount_ of DataFileReaderBase as size_t objectsRemainingInBlock() and size_t

Re: Seeks with DataFileReader in C++

2013-01-24 Thread Thiruvalluvan MG
; Thiruvalluvan MG thiru...@yahoo.com Sent: Wednesday, 23 January 2013 10:33 PM Subject: Re: Seeks with DataFileReader in C++ In our case, we have files created from large numbers of frames stored sequentially as records in a data file. Currently, finding the i-th frame requires going to the beginning

Re: Seeks with DataFileReader in C++

2013-01-23 Thread Thiruvalluvan MG
From: Daniel Russel drus...@gmail.com To: dev@avro.apache.org Sent: Wednesday, 23 January 2013 11:20 AM Subject: Seeks with DataFileReader in C++ From what I can tell, there is no way to do any sort of random access with the C++ DataFileReader API. Is this correct? Is someone

Re: Seeks with DataFileReader in C++

2013-01-23 Thread Daniel Russel
a ticket and submit a patch. Thanks Thiru From: Daniel Russel drus...@gmail.com To: dev@avro.apache.org Sent: Wednesday, 23 January 2013 11:20 AM Subject: Seeks with DataFileReader in C++ From what I can tell, there is no way to do any sort of random

Seeks with DataFileReader in C++

2013-01-22 Thread Daniel Russel
From what I can tell, there is no way to do any sort of random access with the C++ DataFileReader API. Is this correct? Is someone working on that? If not, and people think this would be a generally interesting capability, I'd consider implementing it as I'd kind of like to have it. Thanks.