Skip to content

File overflow_file.h

FileList > cubrid > src > storage > overflow_file.h

Go to the source code of this file

  • #include "config.h"
  • #include "file_manager.h"
  • #include "mvcc.h"
  • #include "page_buffer.h"
  • #include "recovery.h"
  • #include "slotted_page.h"
  • #include "storage_common.h"

Classes

Type Name
struct overflow_first_part
struct overflow_rest_part

Public Types

Type Name
typedef struct overflow_first_part OVERFLOW_FIRST_PART
typedef struct overflow_rest_part OVERFLOW_REST_PART

Public Functions

Type Name
const VPID * overflow_delete (THREAD_ENTRY * thread_p, const VFID * ovf_vfid, const VPID * ovf_vpid)
int overflow_dump (THREAD_ENTRY * thread_p, FILE * fp, VPID * ovf_vpid)
void overflow_flush (THREAD_ENTRY * thread_p, const VPID * ovf_vpid)
SCAN_CODE overflow_get (THREAD_ENTRY * thread_p, const VPID * ovf_vpid, RECDES * recdes, MVCC_SNAPSHOT * mvcc_snapshot)
int overflow_get_capacity (THREAD_ENTRY * thread_p, const VPID * ovf_vpid, int * ovf_length, int * ovf_num_pages, int * ovf_overhead, int * ovf_free_space)
char * overflow_get_first_page_data (char * page_ptr)
int overflow_get_length (THREAD_ENTRY * thread_p, const VPID * ovf_vpid)
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)
int overflow_insert (THREAD_ENTRY * thread_p, const VFID * ovf_vfid, VPID * ovf_vpid, RECDES * recdes, FILE_TYPE file_type)
int overflow_rv_link (THREAD_ENTRY * thread_p, LOG_RCV * rcv)
void overflow_rv_link_dump (FILE * fp, int length_ignore, void * data)
int overflow_rv_newpage_insert_redo (THREAD_ENTRY * thread_p, LOG_RCV * rcv)
int overflow_rv_newpage_link_undo (THREAD_ENTRY * thread_p, LOG_RCV * rcv)
void overflow_rv_page_dump (FILE * fp, int length, void * data)
int overflow_rv_page_update_redo (THREAD_ENTRY * thread_p, LOG_RCV * rcv)
int overflow_update (THREAD_ENTRY * thread_p, const VFID * ovf_vfid, const VPID * ovf_vpid, RECDES * recdes, FILE_TYPE file_type)

Public Types Documentation

typedef OVERFLOW_FIRST_PART

typedef struct overflow_first_part OVERFLOW_FIRST_PART;

typedef OVERFLOW_REST_PART

typedef struct overflow_rest_part OVERFLOW_REST_PART;

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

int overflow_dump (
    THREAD_ENTRY * thread_p,
    FILE * fp,
    VPID * ovf_vpid
) 

function overflow_flush

void overflow_flush (
    THREAD_ENTRY * thread_p,
    const  VPID * ovf_vpid
) 

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_length,
    int * ovf_num_pages,
    int * ovf_overhead,
    int * ovf_free_space
) 

function overflow_get_first_page_data

char * overflow_get_first_page_data (
    char * page_ptr
) 

function overflow_get_length

int overflow_get_length (
    THREAD_ENTRY * thread_p,
    const  VPID * ovf_vpid
) 

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
) 

int overflow_rv_link (
    THREAD_ENTRY * thread_p,
    LOG_RCV * rcv
) 

void overflow_rv_link_dump (
    FILE * fp,
    int length_ignore,
    void * data
) 

function overflow_rv_newpage_insert_redo

int overflow_rv_newpage_insert_redo (
    THREAD_ENTRY * thread_p,
    LOG_RCV * rcv
) 

int overflow_rv_newpage_link_undo (
    THREAD_ENTRY * thread_p,
    LOG_RCV * rcv
) 

function overflow_rv_page_dump

void overflow_rv_page_dump (
    FILE * fp,
    int length,
    void * data
) 

function overflow_rv_page_update_redo

int overflow_rv_page_update_redo (
    THREAD_ENTRY * thread_p,
    LOG_RCV * rcv
) 

function overflow_update

int overflow_update (
    THREAD_ENTRY * thread_p,
    const  VFID * ovf_vfid,
    const  VPID * ovf_vpid,
    RECDES * recdes,
    FILE_TYPE file_type
) 


The documentation for this class was generated from the following file cubrid/src/storage/overflow_file.h