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

Method getHeader

src/Storages/StorageLog.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81class LogSource final : public ISource
82{
83 static Block getHeader(const NamesAndTypesList & physical, const NamesAndTypesList & virtuals)
84 {
85 Block res;
86 for (const auto & name_type : physical)
87 res.insert({name_type.type->createColumn(), name_type.type, name_type.name});
88 for (const auto & name_type : virtuals)
89 res.insert({name_type.type->createColumn(), name_type.type, name_type.name});
90 return res;
91 }
92
93public:
94 LogSource(

Callers 15

generateMethod · 0.45
generateMethod · 0.45
generateWithKeysMethod · 0.45
generateFullScanMethod · 0.45
updateLightweightMethod · 0.45
calculateByQueryMethod · 0.45
updateLightweightMethod · 0.45
generateMethod · 0.45
readMethod · 0.45
processInputMethod · 0.45

Calls 2

insertMethod · 0.45
createColumnMethod · 0.45

Tested by 2

consumeMethod · 0.36
updatePipelineMethod · 0.36