mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
18 lines
350 B
C++
18 lines
350 B
C++
#pragma once
|
|
|
|
#include <atomic>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class IBlockInputStream;
|
|
class IBlockOutputStream;
|
|
|
|
/** Копирует данные из InputStream в OutputStream
|
|
* (например, из БД в консоль и т. п.)
|
|
*/
|
|
void copyData(IBlockInputStream & from, IBlockOutputStream & to, std::atomic<bool> * is_cancelled = nullptr);
|
|
|
|
}
|