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

Method loadKeys

src/Dictionaries/ExecutableDictionarySource.cpp:174–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174BlockIO ExecutableDictionarySource::loadKeys(const Columns & key_columns, const VectorWithMemoryTracking<size_t> & requested_rows)
175{
176 LOG_TRACE(log, "loadKeys {} size = {}", toString(), requested_rows.size());
177
178 auto block = blockForKeys(dict_struct, key_columns, requested_rows);
179 BlockIO io;
180 io.pipeline = getStreamForBlock(block);
181 return io;
182}
183
184QueryPipeline ExecutableDictionarySource::getStreamForBlock(const Block & block)
185{

Callers

nothing calls this directly

Calls 3

blockForKeysFunction · 0.85
toStringFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected