#pragma once #include #include #include namespace DB { struct ReadSettings; /** Create an object to read data from a file. * * @param read_hint - the number of bytes to read hint * @param file_size - size of file */ std::unique_ptr createReadBufferFromFileBase( const std::string & filename, const ReadSettings & settings, std::optional read_hint = {}, std::optional file_size = {}, int flags_ = -1, char * existing_memory = nullptr, size_t alignment = 0); }