MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
virtual ulint | get_space_id () const UNIV_NOTHROW |
Public Member Functions inherited from AbstractCallback | |
AbstractCallback (trx_t *trx) | |
virtual | ~AbstractCallback () |
virtual dberr_t | init (os_offset_t file_size, const buf_block_t *block) UNIV_NOTHROW |
bool | is_compressed_table () const UNIV_NOTHROW |
Public Member Functions inherited from PageCallback | |
PageCallback () | |
void | set_file (const char *filename, os_file_t file) UNIV_NOTHROW |
ulint | get_zip_size () const |
dberr_t | set_zip_size (const buf_frame_t *page) UNIV_NOTHROW |
ulint | get_page_size () const |
- of the index to look for | |
Find the index field entry in in the cfg indexes fields.
| |
PageConverter (row_import *cfg, trx_t *trx) UNIV_NOTHROW | |
virtual dberr_t | operator() (os_offset_t offset, buf_block_t *block) UNIV_NOTHROW |
Additional Inherited Members | |
Public Attributes inherited from PageCallback | |
ulint | m_zip_size |
ulint | m_page_size |
os_file_t | m_file |
const char * | m_filepath |
Protected Member Functions inherited from AbstractCallback | |
buf_frame_t * | get_frame (buf_block_t *block) const UNIV_NOTHROW |
dberr_t | periodic_check () UNIV_NOTHROW |
const xdes_t * | xdes (ulint page_no, const page_t *page) const UNIV_NOTHROW |
dberr_t | set_current_xdes (ulint page_no, const page_t *page) UNIV_NOTHROW |
bool | is_root_page (const page_t *page) const UNIV_NOTHROW |
bool | is_free (ulint page_no) const UNIV_NOTHROW |
Protected Attributes inherited from AbstractCallback | |
trx_t * | m_trx |
ulint | m_space |
ulint | m_free_limit |
ulint | m_size |
xdes_t * | m_xdes |
ulint | m_xdes_page_no |
ulint | m_space_flags |
ulint | m_table_flags |
Definition at line 856 of file row0import.cc.
PageConverter::PageConverter | ( | row_import * | cfg, |
trx_t * | trx | ||
) |
Constructor
cfg | - config of table being imported. |
trx | - transaction covering the import |
Definition at line 1653 of file row0import.cc.
|
inlinevirtual |
the | server space id of the tablespace being iterated over |
Implements PageCallback.
Definition at line 872 of file row0import.cc.
|
virtual |
Called for each block as it is read from the file.
offset | - physical offset in the file |
block | - block to convert, it is not from the buffer pool. |
DB_SUCCESS | or error code. |
Called for every page in the tablespace. If the page was not updated then its state must be set to BUF_PAGE_NOT_USED.
offset | - physical offset within the file |
block | - block read from file, note it is not from the buffer pool |
DB_SUCCESS | or error code. |
Implements PageCallback.
Definition at line 2122 of file row0import.cc.