ClickHouse/dbms/include/DB/DataStreams/copyData.h

23 lines
615 B
C
Raw Normal View History

2010-03-04 19:20:28 +00:00
#ifndef DBMS_DATA_STREAMS_COPY_DATA_H
#define DBMS_DATA_STREAMS_COPY_DATA_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);
}
#endif