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

Method Cleanup

be/src/runtime/blocking-row-batch-queue.cc:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void BlockingRowBatchQueue::Cleanup() {
66 unique_ptr<RowBatch> batch = nullptr;
67 while ((batch = GetBatch()) != nullptr) {
68 batch.reset();
69 }
70
71 lock_guard<SpinLock> l(lock_);
72 cleanup_queue_.clear();
73}
74}

Callers 1

CloseMethod · 0.45

Calls 2

resetMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected