mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
22 lines
657 B
C++
22 lines
657 B
C++
#pragma once
|
|
|
|
#include <DB/Core/Block.h>
|
|
#include <DB/DataStreams/IBlockInputStream.h>
|
|
#include <DB/DataStreams/IBlockOutputStream.h>
|
|
#include <DB/DataStreams/IRowInputStream.h>
|
|
#include <DB/DataStreams/IRowOutputStream.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Копирует данные из InputStream в OutputStream
|
|
* (например, из БД в консоль и т. п.)
|
|
*/
|
|
void copyData(IBlockInputStream & from, IBlockOutputStream & to);
|
|
void copyData(IRowInputStream & from, IRowOutputStream & to);
|
|
void copyData(IBlockInputStream & from, IRowOutputStream & to);
|
|
void copyData(IRowInputStream & from, IBlockOutputStream & to, const Block & sample);
|
|
|
|
}
|