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

Method getNameSet

src/Core/Block.cpp:773–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773NameSet Block::getNameSet() const
774{
775 NameSet res;
776 res.reserve(columns());
777
778 for (const auto & elem : data)
779 res.insert(elem.name);
780 return res;
781}
782
783
784DataTypes Block::getDataTypes() const

Calls 2

reserveMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected