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

Method Empty

be/src/exec/scan-range-queue-mt.h:70–73  ·  view source on GitHub ↗

Returns true if the scan range queue is empty.

Source from the content-addressed store, hash-verified

68
69 /// Returns true if the scan range queue is empty.
70 bool Empty() {
71 std::lock_guard<std::mutex> lock(scan_range_queue_lock_);
72 return high_prio_scan_ranges_.empty() && scan_range_queue_.Empty();
73 }
74
75 /// Reserves capacity for the queue. This doesn't affect the queue of the high prio
76 /// items.

Callers 8

ToStringValFunction · 0.45
topMethod · 0.45
PrepareForOutputMethod · 0.45
InsertTupleRowMethod · 0.45
GetNextScanRangeMethod · 0.45
DequeueMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected