MCPcopy Create free account
hub / github.com/apache/impala / GetBufferBlock

Method GetBufferBlock

be/src/runtime/io/disk-file.h:377–380  ·  view source on GitHub ↗

Return the read buffer block.

Source from the content-addressed store, hash-verified

375
376 // Return the read buffer block.
377 MemBlock* GetBufferBlock(int index) {
378 DCheckReadBufferIdx(index);
379 return read_buffer_->read_buffer_blocks_[index].get();
380 }
381
382 // Return the lock of the read buffer block.
383 SpinLock* GetBufferBlockLock(int index) {

Callers 3

GetReadBufferFileMethod · 0.80
TryDeleteReadBufferMethod · 0.80
DoFetchMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected