#pragma once #include #include #include #include namespace DB { class WriteBufferFromFileBase : public BufferWithOwnMemory { public: WriteBufferFromFileBase(size_t buf_size, char * existing_memory, size_t alignment); void sync() override = 0; virtual std::string getFileName() const = 0; }; }