mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
fafecb3c25
* Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development): removed very old tests #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447
28 lines
422 B
C++
28 lines
422 B
C++
#pragma once
|
|
|
|
#include <Formats/IRowInputStream.h>
|
|
#include <Core/Block.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ReadBuffer;
|
|
|
|
|
|
/** 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;
|
|
};
|
|
|
|
}
|