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

Method initInput

src/Compression/CachedCompressedReadBuffer.cpp:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18void CachedCompressedReadBuffer::initInput()
19{
20 if (!file_in)
21 {
22 file_in = file_in_creator();
23 compressed_in = file_in.get();
24
25 if (profile_callback)
26 file_in->setProfileCallback(profile_callback, clock_type);
27 }
28}
29
30
31void CachedCompressedReadBuffer::prefetch(Priority priority)

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
setProfileCallbackMethod · 0.45

Tested by

no test coverage detected