Zero  0.1.0
Public Member Functions | Private Types | List of all members
tpcb::history_man_impl Class Reference

#include <tpcb_schema_man.h>

Inheritance diagram for tpcb::history_man_impl:
table_man_t< history_t >

Public Member Functions

 history_man_impl (history_t *aHistoryDesc)
 
 ~history_man_impl ()
 
- Public Member Functions inherited from table_man_t< history_t >
 table_man_t (history_t *aTableDesc, bool construct_cache=true)
 
virtual ~table_man_t ()
 
history_t * table ()
 
w_rc_t load_and_register_fid (ss_m *db)
 
blob_pool * ts ()
 
w_rc_t index_probe (ss_m *db, index_desc_t *pidx, table_row_t *ptuple, const lock_mode_t lock_mode=okvl_mode::S, const PageID &root=0)
 
w_rc_t index_probe_forupdate (ss_m *db, index_desc_t *pidx, table_row_t *ptuple, const PageID &root=0)
 
w_rc_t index_probe_nl (ss_m *db, index_desc_t *pidx, table_row_t *ptuple, const PageID &root=0)
 
w_rc_t index_probe_primary (ss_m *db, table_row_t *ptuple, lock_mode_t lock_mode=okvl_mode::S, const PageID &root=0)
 
w_rc_t index_probe_by_name (ss_m *db, const char *idx_name, table_row_t *ptuple, lock_mode_t lock_mode=okvl_mode::S, const PageID &root=0)
 
w_rc_t index_probe_forupdate_by_name (ss_m *db, const char *idx_name, table_row_t *ptuple, const PageID &root=0)
 
w_rc_t index_probe_nl_by_name (ss_m *db, const char *idx_name, table_row_t *ptuple, const PageID &root=0)
 
w_rc_t add_tuple (ss_m *db, table_row_t *ptuple, const lock_mode_t lock_mode=okvl_mode::X, const PageID &primary_root=0)
 
w_rc_t add_index_entry (ss_m *db, const char *idx_name, table_row_t *ptuple, const lock_mode_t lock_mode=okvl_mode::X, const PageID &primary_root=0)
 
w_rc_t delete_tuple (ss_m *db, table_row_t *ptuple, const lock_mode_t lock_mode=okvl_mode::X, const PageID &primary_root=0)
 
w_rc_t delete_index_entry (ss_m *db, const char *idx_name, table_row_t *ptuple, const lock_mode_t lock_mode=okvl_mode::X, const PageID &primary_root=0)
 
w_rc_t update_tuple (ss_m *db, table_row_t *ptuple, const lock_mode_t lock_mode=okvl_mode::X)
 
int min_key (index_desc_t *pindex, table_row_t *ptuple, rep_row_t &arep)
 
int max_key (index_desc_t *pindex, table_row_t *ptuple, rep_row_t &arep)
 
int key_size (index_desc_t *pindex) const
 
virtual w_rc_t populate (ss_m *, bool &)
 
virtual w_rc_t print_table (ostream &os, unsigned int num_lines=0)
 
virtual w_rc_t print_index (unsigned i, ostream &os, unsigned int num_lines=0, bool need_tuple=false)
 
virtual w_rc_t fetch_table (ss_m *db, lock_mode_t alm=okvl_mode::S)
 
row_cache_t< history_t > * get_cache ()
 
table_row_tget_tuple ()
 
void give_tuple (table_row_t *ptt)
 

Private Types

typedef table_row_t history_tuple
 

Additional Inherited Members

- Protected Attributes inherited from table_man_t< history_t >
history_t * _ptable
 
guard< blob_pool > _pts
 
pcache_link _pcache
 

Member Typedef Documentation

§ history_tuple

Constructor & Destructor Documentation

§ history_man_impl()

tpcb::history_man_impl::history_man_impl ( history_t *  aHistoryDesc)
inline

§ ~history_man_impl()

tpcb::history_man_impl::~history_man_impl ( )
inline

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