MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / tryGetTaskForInnerTable

Method tryGetTaskForInnerTable

src/Storages/MaterializedView/RefreshSet.cpp:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167RefreshTaskPtr RefreshSet::tryGetTaskForInnerTable(const StorageID & inner_table_id) const
168{
169 std::unique_lock lock(mutex);
170 auto it = inner_tables.find(inner_table_id);
171 if (it == inner_tables.end())
172 return nullptr;
173 return *it->second.begin();
174}
175
176void RefreshSet::notifyDependents(const StorageID & id) const
177{

Callers 2

Calls 3

findMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected