ClickHouse/dbms/src/Formats/BinaryRowInputStream.h

28 lines
422 B
C++
Raw Normal View History

#pragma once
#include <Formats/IRowInputStream.h>
2017-12-26 19:00:20 +00:00
#include <Core/Block.h>
namespace DB
{
class ReadBuffer;
2017-05-13 22:19:04 +00:00
/** A stream for inputting data in a binary line-by-line format.
*/
class BinaryRowInputStream : public IRowInputStream
{
public:
BinaryRowInputStream(ReadBuffer & istr_, const Block & header_);
bool read(MutableColumns & columns) override;
private:
ReadBuffer & istr;
Block header;
};
}