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

Method nextImpl

src/Client/ClientBase.cpp:401–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 }
400
401 void nextImpl() override
402 {
403 if (on_flush_callback)
404 on_flush_callback();
405
406 if (out->isCanceled())
407 return;
408
409 out->write(working_buffer.begin(), offset());
410 /// Propagate the explicit flush to the nested buffer so that small result blocks
411 /// are streamed to the underlying sink immediately instead of waiting for the
412 /// nested buffer to fill up.
413 out->next();
414 }
415
416 void finalizeImpl() override { next(); }
417

Callers

nothing calls this directly

Calls 4

isCanceledMethod · 0.45
writeMethod · 0.45
beginMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected