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

#include <tpcb_schema_man.h>

Inheritance diagram for tpcb::branch_man_impl:
table_man_t< branch_t >

Public Member Functions

 branch_man_impl (branch_t *aBranchDesc)
 
 ~branch_man_impl ()
 
w_rc_t b_index_probe (ss_m *db, branch_tuple *ptuple, const int b_id)
 
w_rc_t b_index_probe_forupdate (ss_m *db, branch_tuple *ptuple, const int b_id)
 
w_rc_t b_idx_nl (ss_m *db, branch_tuple *ptuple, const int b_id)
 
- Public Member Functions inherited from table_man_t< branch_t >
 table_man_t (branch_t *aTableDesc, bool construct_cache=true)
 
virtual ~table_man_t ()
 
branch_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< branch_t > * get_cache ()
 
table_row_tget_tuple ()
 
void give_tuple (table_row_t *ptt)
 

Private Types

typedef table_row_t branch_tuple
 

Additional Inherited Members

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

Member Typedef Documentation

§ branch_tuple

Constructor & Destructor Documentation

§ branch_man_impl()

tpcb::branch_man_impl::branch_man_impl ( branch_t *  aBranchDesc)
inline

§ ~branch_man_impl()

tpcb::branch_man_impl::~branch_man_impl ( )
inline

Member Function Documentation

§ b_idx_nl()

w_rc_t tpcb::branch_man_impl::b_idx_nl ( ss_m db,
branch_tuple ptuple,
const int  b_id 
)

§ b_index_probe()

w_rc_t tpcb::branch_man_impl::b_index_probe ( ss_m db,
branch_tuple ptuple,
const int  b_id 
)

§ b_index_probe_forupdate()

w_rc_t tpcb::branch_man_impl::b_index_probe_forupdate ( ss_m db,
branch_tuple ptuple,
const int  b_id 
)

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