ClickHouse/dbms/Processors/Formats/Impl/BinaryRowInputFormat.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

31 lines
602 B
C++

#pragma once
#include <Core/Block.h>
#include <Processors/Formats/IRowInputFormat.h>
namespace DB
{
class ReadBuffer;
/** A stream for inputting data in a binary line-by-line format.
*/
class BinaryRowInputFormat : public IRowInputFormat
{
public:
BinaryRowInputFormat(ReadBuffer & in_, Block header, Params params_, bool with_names_, bool with_types_);
bool readRow(MutableColumns & columns, RowReadExtension &) override;
void readPrefix() override;
String getName() const override { return "BinaryRowInputFormat"; }
private:
bool with_names;
bool with_types;
};
}