ClickHouse/dbms/include/DB/IO/createWriteBufferFromFileBase.h
2015-04-07 17:16:49 +03:00

20 lines
406 B
C++

#pragma once
#include <DB/IO/WriteBufferFromFileBase.h>
#include <string>
#include <sys/stat.h>
namespace DB
{
WriteBufferFromFileBase * createWriteBufferFromFileBase(const std::string & filename_,
size_t estimated_size,
size_t aio_threshold,
size_t buffer_size_ = DBMS_DEFAULT_BUFFER_SIZE,
int flags_ = -1,
mode_t mode = 0666,
char * existing_memory_ = nullptr,
size_t alignment = 0);
}