mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
27 lines
395 B
C++
27 lines
395 B
C++
|
#pragma once
|
||
|
|
||
|
#include <DB/DataStreams/IRowInputStream.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
class Block;
|
||
|
class ReadBuffer;
|
||
|
|
||
|
|
||
|
/** Поток для ввода данных в бинарном построчном формате.
|
||
|
*/
|
||
|
class BinaryRowInputStream : public IRowInputStream
|
||
|
{
|
||
|
public:
|
||
|
BinaryRowInputStream(ReadBuffer & istr_);
|
||
|
|
||
|
bool read(Block & block) override;
|
||
|
|
||
|
private:
|
||
|
ReadBuffer & istr;
|
||
|
};
|
||
|
|
||
|
}
|