MCPcopy Create free account
hub / github.com/apache/arrow / is_buffered_stream_enabled

Function is_buffered_stream_enabled

cpp/src/parquet/properties.h:97–97  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected