MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BackupFile Class Reference
Inheritance diagram for BackupFile:
Collaboration diagram for BackupFile:

Public Member Functions

bool readHeader ()
bool validateFooter ()
const char * getPath () const
const char * getFilename () const
Uint32 getNodeId () const
const BackupFormat::FileHeadergetFileHeader () const
bool Twiddle (const AttributeDesc *const attr_desc, AttributeData *attr_data)
Uint64 get_file_size () const
Uint64 get_file_pos () const

Protected Member Functions

virtual void reset_buffers ()
bool openFile ()
void setCtlFile (Uint32 nodeId, Uint32 backupId, const char *path)
void setDataFile (const BackupFile &bf, Uint32 no)
void setLogFile (const BackupFile &bf, Uint32 no)
Uint32 buffer_get_ptr (void **p_buf_ptr, Uint32 size, Uint32 nmemb)
Uint32 buffer_read (void *ptr, Uint32 size, Uint32 nmemb)
Uint32 buffer_get_ptr_ahead (void **p_buf_ptr, Uint32 size, Uint32 nmemb)
Uint32 buffer_read_ahead (void *ptr, Uint32 size, Uint32 nmemb)
void setName (const char *path, const char *name)
 BackupFile (void(*free_data_callback)()=0)

Protected Attributes

ndbzio_stream m_file
char m_path [PATH_MAX]
char m_fileName [PATH_MAX]
bool m_hostByteOrder
BackupFormat::FileHeader m_fileHeader
BackupFormat::FileHeader m_expectedFileHeader
Uint32 m_nodeId
void * m_buffer
void * m_buffer_ptr
Uint32 m_buffer_sz
Uint32 m_buffer_data_left
Uint64 m_file_size
Uint64 m_file_pos
UtilBuffer m_twiddle_buffer
bool m_is_undolog
void(* free_data_callback )()

Detailed Description

Definition at line 312 of file Restore.hpp.


The documentation for this class was generated from the following files: