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.
| 95 | /// The primary reason for this control knobs is for resource control and not |
| 96 | /// performance. |
| 97 | bool is_buffered_stream_enabled() const { return buffered_stream_enabled_; } |
| 98 | /// Enable buffered stream reading. |
| 99 | void enable_buffered_stream() { buffered_stream_enabled_ = true; } |
| 100 | /// Disable buffered stream reading. |
nothing calls this directly
no outgoing calls
no test coverage detected