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

Method CloseAllPages

be/src/runtime/sorter.cc:367–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void Sorter::Run::CloseAllPages() {
368 DeleteAndClearPages(&fixed_len_pages_);
369 DeleteAndClearPages(&var_len_pages_);
370 if (var_len_copy_page_.is_open()) {
371 var_len_copy_page_.Close(sorter_->buffer_pool_client_);
372 }
373}
374
375Status Sorter::Run::UnpinAllPages() {
376 DCHECK(is_sorted_);

Callers 5

CleanupRunsMethod · 0.80
InitializeNewMinirunMethod · 0.80
MergeAndSpillMethod · 0.80
InputDoneMethod · 0.80
CleanupAllRunsMethod · 0.80

Calls 2

is_openMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected