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

Method AddBatch

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

Source from the content-addressed store, hash-verified

36}
37
38void BlockingRowBatchQueue::AddBatch(unique_ptr<RowBatch> batch) {
39 if (!batch_queue_->BlockingPut(move(batch))) {
40 lock_guard<SpinLock> l(lock_);
41 cleanup_queue_.push_back(move(batch));
42 }
43}
44
45bool BlockingRowBatchQueue::AddBatchWithTimeout(
46 unique_ptr<RowBatch>&& batch, int64_t timeout_micros) {

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
push_backMethod · 0.80
BlockingPutMethod · 0.45

Tested by

no test coverage detected