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

Method DeleteAndClearPages

be/src/runtime/sorter.cc:928–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926}
927
928void Sorter::Run::DeleteAndClearPages(vector<Sorter::Page>* pages) {
929 for (Page& page : *pages) {
930 if (page.is_open()) page.Close(sorter_->buffer_pool_client_);
931 }
932 pages->clear();
933}
934
935Sorter::Run::~Run() {
936 DCHECK(fixed_len_pages_.empty());

Callers

nothing calls this directly

Calls 3

clearMethod · 0.65
is_openMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected