Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
joedb::Table Class Reference

#include <joedb/interpreted/Table.h>

Public Member Functions

const Compact_Freedom_Keeperget_freedom () const
 
const std::map< Field_Id, Field > & get_fields () const
 
Field_Id find_field (const std::string &name) const
 
void add_field (const std::string &name, const Type &type)
 
void drop_field (Field_Id field_id)
 
void delete_record (Record_Id record_id)
 
void insert_record (Record_Id record_id)
 
void insert_vector (Record_Id record_id, size_t size)
 
size_t get_storage_capacity () const
 

Friends

class Database_Schema
 

Detailed Description

Definition at line 16 of file Table.h.

Member Function Documentation

◆ add_field()

void joedb::Table::add_field ( const std::string &  name,
const Type type 
)

Definition at line 18 of file Table.cpp.

◆ delete_record()

void joedb::Table::delete_record ( Record_Id  record_id)

Definition at line 43 of file Table.cpp.

◆ drop_field()

void joedb::Table::drop_field ( Field_Id  field_id)

Definition at line 32 of file Table.cpp.

◆ find_field()

Field_Id joedb::Table::find_field ( const std::string &  name) const

Definition at line 8 of file Table.cpp.

◆ get_fields()

const std::map< Field_Id, Field > & joedb::Table::get_fields ( ) const
inline

Definition at line 30 of file Table.h.

◆ get_freedom()

const Compact_Freedom_Keeper & joedb::Table::get_freedom ( ) const
inline

Definition at line 28 of file Table.h.

◆ get_storage_capacity()

size_t joedb::Table::get_storage_capacity ( ) const
inline

Definition at line 39 of file Table.h.

◆ insert_record()

void joedb::Table::insert_record ( Record_Id  record_id)

Definition at line 52 of file Table.cpp.

◆ insert_vector()

void joedb::Table::insert_vector ( Record_Id  record_id,
size_t  size 
)

Definition at line 69 of file Table.cpp.

Friends And Related Symbol Documentation

◆ Database_Schema

friend class Database_Schema
friend

Definition at line 18 of file Table.h.


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