MCPcopy Create free account
hub / github.com/ByConity/ByConity / tryGetTable

Method tryGetTable

src/Databases/DatabaseDictionary.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95StoragePtr DatabaseDictionary::tryGetTable(const String & table_name, ContextPtr) const
96{
97 auto load_result = getContext()->getExternalDictionariesLoader().getLoadResult(table_name);
98 return createStorageDictionary(getDatabaseName(), load_result, getContext());
99}
100
101DatabaseTablesIteratorPtr DatabaseDictionary::getTablesIterator(ContextPtr, const FilterByNameFunction & filter_by_table_name)
102{

Callers

nothing calls this directly

Calls 2

createStorageDictionaryFunction · 0.85
getLoadResultMethod · 0.45

Tested by

no test coverage detected