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

Method getSampleBlockCache

src/Interpreters/Context.cpp:7097–7101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7095}
7096
7097std::pair<Context::SampleBlockCache *, std::unique_lock<std::mutex>> Context::getSampleBlockCache() const
7098{
7099 chassert(hasQueryContext());
7100 return std::make_pair(&getQueryContext()->sample_block_cache, std::unique_lock(getQueryContext()->sample_block_cache_mutex));
7101}
7102
7103QueryMetadataCachePtr Context::getQueryMetadataCache() const
7104{

Callers 1

getSampleBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected