mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
19 lines
458 B
C++
19 lines
458 B
C++
#pragma once
|
|
|
|
#include <DB/IO/IReadFileOperations.h>
|
|
#include <DB/IO/BufferWithOwnMemory.h>
|
|
#include <DB/IO/ReadBuffer.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ReadBufferFromFileBase : public IReadFileOperations, public BufferWithOwnMemory<ReadBuffer>
|
|
{
|
|
public:
|
|
ReadBufferFromFileBase(size_t buf_size, char * existing_memory, size_t alignment)
|
|
: BufferWithOwnMemory<ReadBuffer>(buf_size, existing_memory, alignment) {}
|
|
virtual ~ReadBufferFromFileBase() = default;
|
|
};
|
|
|
|
}
|