|
| | 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_settings id) const |
| container_of_settings | get_settings_table () const |
| id_of_settings | next (id_of_settings id) const |
| id_of_settings | previous (id_of_settings id) const |
| bool | get_dark_mode (id_of_settings record=id_of_settings{0}) const |
| const std::string & | get_host (id_of_settings record=id_of_settings{0}) const |
| const std::string & | get_user (id_of_settings record=id_of_settings{0}) 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 | flush () |
| virtual void | update_int32 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int32_t value) |
| virtual void | update_int64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int64_t value) |
| virtual void | update_float32 (Table_Id table_id, Record_Id record_id, Field_Id field_id, float value) |
| virtual void | update_float64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, double value) |
| virtual void | update_int8 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int8_t value) |
| virtual void | update_int16 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int16_t value) |
| virtual void | update_blob (Table_Id table_id, Record_Id record_id, Field_Id field_id, joedb::Blob value) |
| const std::string * | get_own_string_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_int32 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const int32_t *value) |
| virtual int32_t * | get_own_int32_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const int32_t * | get_own_int32_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_int64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const int64_t *value) |
| virtual int64_t * | get_own_int64_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const int64_t * | get_own_int64_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_reference (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const joedb::Record_Id *value) |
| virtual joedb::Record_Id * | get_own_reference_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const joedb::Record_Id * | get_own_reference_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| const char * | get_own_boolean_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_float32 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const float *value) |
| virtual float * | get_own_float32_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const float * | get_own_float32_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_float64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const double *value) |
| virtual double * | get_own_float64_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const double * | get_own_float64_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_int8 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const int8_t *value) |
| virtual int8_t * | get_own_int8_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const int8_t * | get_own_int8_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_int16 (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const int16_t *value) |
| virtual int16_t * | get_own_int16_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const int16_t * | get_own_int16_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | update_vector_blob (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const joedb::Blob *value) |
| virtual joedb::Blob * | get_own_blob_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| const joedb::Blob * | get_own_blob_const_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) const |
| virtual void | on_blob (Blob blob) |
| virtual bool | wants_blob_data () const |
| virtual Blob | write_blob (std::string_view data) |
| virtual | ~Writable ()=default |
|
| template<typename E = joedb::Exception> |
| static void | throw_exception (std::string_view message) |
| static id_of_settings | null_settings () |
| static constexpr id_of_settings | the_settings () |
| 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_string (Table_Id table_id, Record_Id record_id, Field_Id field_id, std::string_view value) override |
| void | update_boolean (Table_Id table_id, Record_Id record_id, Field_Id field_id, bool value) override |
| void | update_vector_string (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const std::string *value) override |
| void | update_vector_boolean (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const char *value) override |
| std::string * | get_own_string_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) override |
| char * | get_own_boolean_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_settings (Record_Id record_id) const |
| void | internal_delete_settings (Record_Id record_id) |
| void | internal_insert_settings (Record_Id record_id) |
| void | internal_vector_insert_settings (Record_Id record_id, size_t size) |
| void | internal_update_settings__dark_mode (Record_Id record_id, bool field_value_of_dark_mode) |
| void | internal_update_vector_settings__dark_mode (Record_Id record_id, size_t size, const char *value) |
| void | internal_update_settings__host (Record_Id record_id, std::string_view field_value_of_host) |
| void | internal_update_vector_settings__host (Record_Id record_id, size_t size, const std::string *value) |
| void | internal_update_settings__user (Record_Id record_id, std::string_view field_value_of_user) |
| void | internal_update_vector_settings__user (Record_Id record_id, size_t size, const std::string *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_settings | storage_of_settings |
Definition at line 21 of file Readonly_Database.h.