24#ifndef MYSQL_CSA_STORAGE_RELAY_LOG_PREFETCHED_IFILE_H
25#define MYSQL_CSA_STORAGE_RELAY_LOG_PREFETCHED_IFILE_H
58 std::unique_ptr<Basic_seekable_istream>
open_file(
Base class of binlog input files.
Definition: binlog_istream.h:159
const std::string & file_name() const
Definition: binlog_istream.h:188
Basic_binlog_ifile(Binlog_read_error *binlog_read_error)
Definition: binlog_istream.cc:176
Implementation of the Basic_binlog_ifile, which works on the prefetched stream (Istream_prefetched) E...
Definition: prefetched_ifile.h:44
std::string m_current_file
File currently opened.
Definition: prefetched_ifile.h:62
void set_prefetcher(Log_prefetcher_sptr prefetcher)
Sets the prefetcher.
Definition: prefetched_ifile.cpp:36
Log_prefetcher_sptr m_prefetcher
Prefetcher object we need to pass into created stream.
Definition: prefetched_ifile.h:64
std::unique_ptr< Basic_seekable_istream > open_file(const char *file_name) override
Creates stream object "from the file".
Definition: prefetched_ifile.cpp:28
Binary log event definitions.
Definition: channel.cpp:28
std::shared_ptr< Log_prefetcher > Log_prefetcher_sptr
Definition: log_prefetcher.h:48