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

Method findByName

src/DataTypes/DataTypesCache.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80const SimpleDataTypesCache::Element * SimpleDataTypesCache::findByName(const String & type_name) const
81{
82 auto it = by_name.find(type_name);
83 return it != by_name.end() ? &it->second : nullptr;
84}
85
86DataTypePtr SimpleDataTypesCache::getType(const String & type_name) const
87{

Callers 3

extractColumnMethod · 0.45
getTypeMethod · 0.45
getSerializationMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected