mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
25 lines
366 B
C++
25 lines
366 B
C++
#pragma once
|
|
|
|
#include <IO/WriteBufferFromFileDecorator.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class FileSegment;
|
|
|
|
class WriteBufferToFileSegment : public WriteBufferFromFileDecorator
|
|
{
|
|
public:
|
|
explicit WriteBufferToFileSegment(FileSegment * file_segment_);
|
|
|
|
void nextImpl() override;
|
|
|
|
~WriteBufferToFileSegment() override;
|
|
|
|
private:
|
|
FileSegment * file_segment;
|
|
};
|
|
|
|
|
|
}
|