File overflow_file.c¶
FileList > cubrid > src > storage > overflow_file.c
Go to the source code of this file
#include "overflow_file.h"#include "config.h"#include "error_manager.h"#include "file_manager.h"#include "heap_file.h"#include "log_append.hpp"#include "log_manager.h"#include "memory_alloc.h"#include "mvcc.h"#include "page_buffer.h"#include "slotted_page.h"#include "storage_common.h"#include <string.h>#include "memory_wrapper.hpp"
Public Types¶
| Type | Name |
|---|---|
| enum | OVERFLOW_DO_FUNC |
Public Functions¶
Public Static Functions¶
| Type | Name |
|---|---|
| int | overflow_delete_internal (THREAD_ENTRY * thread_p, const VFID * ovf_vfid, VPID * vpid, PAGE_PTR pgptr) |
| int | overflow_flush_internal (THREAD_ENTRY * thread_p, PAGE_PTR pgptr) |
| void | overflow_next_vpid (const VPID * ovf_vpid, VPID * vpid, PAGE_PTR pgptr) |
| const VPID * | overflow_traverse (THREAD_ENTRY * thread_p, const VFID * ovf_vfid, const VPID * ovf_vpid, OVERFLOW_DO_FUNC func) |
Macros¶
| Type | Name |
|---|---|
| define | OVERFLOW_ALLOCVPID_ARRAY_SIZE 64 |
Public Types Documentation¶
enum OVERFLOW_DO_FUNC¶
Public Functions Documentation¶
function overflow_delete¶
const VPID * overflow_delete (
THREAD_ENTRY * thread_p,
const VFID * ovf_vfid,
const VPID * ovf_vpid
)
function overflow_dump¶
function overflow_flush¶
function overflow_get¶
SCAN_CODE overflow_get (
THREAD_ENTRY * thread_p,
const VPID * ovf_vpid,
RECDES * recdes,
MVCC_SNAPSHOT * mvcc_snapshot
)
function overflow_get_capacity¶
int overflow_get_capacity (
THREAD_ENTRY * thread_p,
const VPID * ovf_vpid,
int * ovf_size,
int * ovf_num_pages,
int * ovf_overhead,
int * ovf_free_space
)
function overflow_get_first_page_data¶
function overflow_get_length¶
function overflow_get_nbytes¶
SCAN_CODE overflow_get_nbytes (
THREAD_ENTRY * thread_p,
const VPID * ovf_vpid,
RECDES * recdes,
int start_offset,
int max_nbytes,
int * remaining_length,
MVCC_SNAPSHOT * mvcc_snapshot
)
function overflow_insert¶
int overflow_insert (
THREAD_ENTRY * thread_p,
const VFID * ovf_vfid,
VPID * ovf_vpid,
RECDES * recdes,
FILE_TYPE file_type
)
function overflow_rv_link¶
function overflow_rv_link_dump¶
function overflow_rv_newpage_insert_redo¶
function overflow_rv_newpage_link_undo¶
function overflow_rv_page_dump¶
function overflow_rv_page_update_redo¶
function overflow_update¶
int overflow_update (
THREAD_ENTRY * thread_p,
const VFID * ovf_vfid,
const VPID * ovf_vpid,
RECDES * recdes,
FILE_TYPE file_type
)
Public Static Functions Documentation¶
function overflow_delete_internal¶
static int overflow_delete_internal (
THREAD_ENTRY * thread_p,
const VFID * ovf_vfid,
VPID * vpid,
PAGE_PTR pgptr
)
function overflow_flush_internal¶
function overflow_next_vpid¶
function overflow_traverse¶
static const VPID * overflow_traverse (
THREAD_ENTRY * thread_p,
const VFID * ovf_vfid,
const VPID * ovf_vpid,
OVERFLOW_DO_FUNC func
)
Macro Definition Documentation¶
define OVERFLOW_ALLOCVPID_ARRAY_SIZE¶
The documentation for this class was generated from the following file cubrid/src/storage/overflow_file.c