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

Method tryGet

src/DataTypes/DataTypeCache.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39ASTPtr DataTypeCache::tryGet(const String & key) const
40{
41 auto it = cells.find(key);
42 if (it == cells.end())
43 return nullptr;
44 return it->second;
45}
46}

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected