mapleFU commented on issue #36001:
URL: https://github.com/apache/arrow/issues/36001#issuecomment-1584151161

   ```c++
   class PARQUET_EXPORT ReaderProperties {
    public:
     /// Buffered stream reading allows the user to control the memory usage of
     /// parquet readers. This ensure that all `RandomAccessFile::ReadAt` calls 
are
     /// wrapped in a buffered reader that uses a fix sized buffer (of size
     /// `buffer_size()`) instead of the full size of the ReadAt.
     ///
     /// The primary reason for this control knobs is for resource control and 
not
     /// performance.
     bool is_buffered_stream_enabled() const { return buffered_stream_enabled_; 
}
     /// Enable buffered stream reading.
     void enable_buffered_stream() { buffered_stream_enabled_ = true; }
     /// Disable buffered stream reading.
     void disable_buffered_stream() { buffered_stream_enabled_ = false; }
   ```
   
   cc @kou 


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to