|
| | Readonly_Database (joedb::Readonly_Journal &journal) |
| |
| | Readonly_Database (joedb::Readonly_Journal &&journal) |
| |
| | Readonly_Database (joedb::Abstract_File &file) |
| |
| | Readonly_Database (joedb::Abstract_File &&file) |
| |
| | Readonly_Database (const char *file_name) |
| |
| | Readonly_Database (const std::string &file_name) |
| |
| | Database_Writable () |
| |
| void | set_max_record_id (joedb::index_t record_id) |
| |
| int64_t | get_schema_checkpoint () const |
| |
| void | initialize_with_readonly_journal (joedb::Readonly_Journal &journal) |
| |
| bool | is_valid (id_of_buffer id) const |
| |
| container_of_buffer | get_buffer_table () const |
| |
| id_of_buffer | next (id_of_buffer id) const |
| |
| id_of_buffer | previous (id_of_buffer id) const |
| |
| template<class Comparator > |
| std::vector< id_of_buffer > | sorted_buffer (Comparator comparator) const |
| |
| joedb::Blob | get_data (id_of_buffer record) const |
| |
| int64_t | get_size (id_of_buffer record) const |
| |
| int64_t | get_offset (id_of_buffer record) const |
| |
| virtual int64_t | get_position () const |
| |
| virtual void | start_writing (int64_t position) |
| |
| virtual void | end_writing (int64_t position) |
| |
| virtual void | soft_checkpoint () |
| |
| virtual void | hard_checkpoint () |
| |
| virtual void | drop_table (Table_Id table_id) |
| |
| virtual void | rename_table (Table_Id table_id, const std::string &name) |
| |
| virtual void | add_field (Table_Id table_id, const std::string &name, Type type) |
| |
| virtual void | drop_field (Table_Id table_id, Field_Id field_id) |
| |
| virtual void | rename_field (Table_Id table_id, Field_Id field_id, const std::string &name) |
| |
| virtual void | flush () |
| |
| virtual void | insert_into (Table_Id table_id, Record_Id record_id) |
| |
| virtual void | delete_from (Table_Id table_id, Record_Id record_id) |
| |
| virtual void | insert_vector (Table_Id table_id, Record_Id record_id, size_t size)=0 |
| |
| virtual void | delete_vector (Table_Id table_id, Record_Id record_id, size_t size)=0 |
| |
| virtual void | on_blob (Blob blob) |
| |
| virtual bool | wants_blob_data () const |
| |
| virtual Blob | write_blob (const std::string &data) |
| |
| virtual | ~Writable ()=default |
| |
|
| template<typename E = joedb::Exception> |
| static void | throw_exception (const std::string &message) |
| |
| static id_of_buffer | null_buffer () |
| |
| void | delete_from (Table_Id table_id, Record_Id record_id) override |
| |
| void | insert_into (Table_Id table_id, Record_Id record_id) override |
| |
| void | delete_vector (Table_Id table_id, Record_Id record_id, size_t size) override |
| |
| void | insert_vector (Table_Id table_id, Record_Id record_id, size_t size) override |
| |
| void | update_int64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int64_t value) override |
| |
| void | update_blob (Table_Id table_id, Record_Id record_id, Field_Id field_id, joedb::Blob value) override |
| |
| void | update_vector_int64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const int64_t *value) override |
| |
| void | update_vector_blob (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const joedb::Blob *value) override |
| |
| int64_t * | get_own_int64_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) override |
| |
| joedb::Blob * | get_own_blob_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) override |
| |
| void | comment (const std::string &comment) override |
| |
| void | timestamp (int64_t timestamp) override |
| |
| void | valid_data () override |
| |
| bool | requires_schema_upgrade () const |
| |
| void | check_schema () |
| |
| void | create_table (const std::string &name) override |
| |
| void | drop_table (Table_Id table_id) override |
| |
| void | rename_table (Table_Id table_id, const std::string &name) override |
| |
| void | add_field (Table_Id table_id, const std::string &name, joedb::Type type) override |
| |
| void | drop_field (Table_Id table_id, Field_Id field_id) override |
| |
| void | rename_field (Table_Id table_id, Field_Id field_id, const std::string &name) override |
| |
| void | custom (const std::string &name) override |
| |
| bool | is_valid_record_id_for_buffer (Record_Id record_id) const |
| |
| void | internal_delete_buffer (Record_Id record_id) |
| |
| void | internal_insert_buffer (Record_Id record_id) |
| |
| void | internal_vector_insert_buffer (Record_Id record_id, size_t size) |
| |
| void | internal_update_buffer__data (Record_Id record_id, joedb::Blob field_value_of_data) |
| |
| void | internal_update_vector_buffer__data (Record_Id record_id, size_t size, const joedb::Blob *value) |
| |
| void | internal_update_buffer__size (Record_Id record_id, int64_t field_value_of_size) |
| |
| void | internal_update_vector_buffer__size (Record_Id record_id, size_t size, const int64_t *value) |
| |
| void | internal_update_buffer__offset (Record_Id record_id, int64_t field_value_of_offset) |
| |
| void | internal_update_vector_buffer__offset (Record_Id record_id, size_t size, const int64_t *value) |
| |
| joedb::index_t | max_record_id |
| |
| Table_Id | current_table_id = Table_Id{0} |
| |
| bool | upgrading_schema = false |
| |
| joedb::Memory_File | schema_file |
| |
| joedb::Writable_Journal | schema_journal |
| |
| detail::data_of_buffer | storage_of_buffer |
| |
Definition at line 21 of file Readonly_Database.h.