mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 05:05:38 +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);
|
|
|
|
}
|