ClickHouse/src/IO/WriteBufferFromFileBase.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
389 B
C++
Raw Normal View History

#pragma once
#include <string>
#include <fcntl.h>
#include <IO/WriteBuffer.h>
#include <IO/BufferWithOwnMemory.h>
namespace DB
{
class WriteBufferFromFileBase : public BufferWithOwnMemory<WriteBuffer>
{
public:
WriteBufferFromFileBase(size_t buf_size, char * existing_memory, size_t alignment);
2019-12-24 17:16:38 +00:00
void sync() override = 0;
virtual std::string getFileName() const = 0;
};
}