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

Method ReturnIoBuffer

be/src/exec/scanner-context.cc:370–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void ScannerContext::Stream::ReturnIoBuffer() {
371 DCHECK(io_buffer_ != nullptr);
372 ScanRange* range = io_buffer_->scan_range();
373 range->ReturnBuffer(move(io_buffer_));
374 io_buffer_pos_ = nullptr;
375 io_buffer_bytes_left_ = 0;
376}
377
378bool ScannerContext::cancelled() const {
379 if (state_->is_cancelled()) return true;

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
ReturnBufferMethod · 0.80
scan_rangeMethod · 0.45

Tested by

no test coverage detected