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

Method FreeBuffers

be/src/runtime/row-batch.cc:357–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void RowBatch::FreeBuffers() {
358 for (BufferInfo& buffer_info : buffers_) {
359 ExecEnv::GetInstance()->buffer_pool()->FreeBuffer(
360 buffer_info.client, &buffer_info.buffer);
361 }
362 buffers_.clear();
363}
364
365void RowBatch::Reset() {
366 num_rows_ = 0;

Callers

nothing calls this directly

Calls 3

clearMethod · 0.65
FreeBufferMethod · 0.45
buffer_poolMethod · 0.45

Tested by

no test coverage detected