chenxu14 opened a new pull request #581: HBASE-22888 Use separate classe to 
deal with streaming read and pread
URL: https://github.com/apache/hbase/pull/581
 
 
   When switching pread to stream read, new HFileReaderImpl will be create, but 
the two different readers do not share informations with each other. maybe we 
can divide HFileReaderImpl into two different class, such as HFilePreadReader 
and HFileStreamReader. When constructing HFileStreamReader, it will copy some 
stuffs (fileInfo, index, etc) from an already existing Reader, and no need to 
do prefetch operations.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to