|
Joedb 10.4.6
The Journal-Only Embedded Database
|
#include <joedb/ui/SQL_Dump_Writable.h>


Public Member Functions | |
| SQL_Writable (std::ostream &out, const Database_Schema &schema, const Abstract_File *blob_reader=nullptr) | |
| const char * | get_name () const |
| void | start_writing (int64_t position) override |
| void | end_writing (int64_t position) override |
| 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, 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 |
| void | comment (const std::string &comment) override |
| void | timestamp (int64_t timestamp) override |
| void | valid_data () override |
| void | insert_into (Table_Id table_id, Record_Id record_id) override |
| void | delete_from (Table_Id table_id, Record_Id record_id) override |
| void | update_string (Table_Id table_id, Record_Id record_id, Field_Id field_id, std::string_view value) override |
| void | update_int32 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int32_t value) override |
| void | update_int64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int64_t value) override |
| void | update_boolean (Table_Id table_id, Record_Id record_id, Field_Id field_id, bool value) override |
| void | update_float32 (Table_Id table_id, Record_Id record_id, Field_Id field_id, float value) override |
| void | update_float64 (Table_Id table_id, Record_Id record_id, Field_Id field_id, double value) override |
| void | update_int8 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int8_t value) override |
| void | update_int16 (Table_Id table_id, Record_Id record_id, Field_Id field_id, int16_t value) override |
| void | update_blob (Table_Id table_id, Record_Id record_id, Field_Id field_id, joedb::Blob value) override |
| ~SQL_Writable () | |
| Public Member Functions inherited from joedb::Loop_Writable | |
| void | insert_vector (Table_Id table_id, Record_Id record_id, size_t size) override |
| void | delete_vector (Table_Id table_id, Record_Id record_id, size_t size) override |
| Public Member Functions inherited from joedb::Writable | |
| virtual int64_t | get_position () const |
| virtual void | soft_checkpoint () |
| virtual void | hard_checkpoint () |
| virtual void | flush () |
| virtual void | update_vector_string (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const std::string *value) |
| virtual std::string * | get_own_string_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| 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 |
| virtual void | update_vector_boolean (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const char *value) |
| virtual char * | get_own_boolean_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) |
| 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 |
Definition at line 12 of file SQL_Dump_Writable.h.
|
inline |
Definition at line 27 of file SQL_Dump_Writable.h.
|
default |
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 108 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 151 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 81 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 144 of file SQL_Dump_Writable.cpp.
Reimplemented from joedb::Writable.
Definition at line 180 of file SQL_Dump_Writable.cpp.
Reimplemented from joedb::Writable.
Definition at line 123 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 89 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 73 of file SQL_Dump_Writable.cpp.
|
inline |
Definition at line 38 of file SQL_Dump_Writable.h.
Reimplemented from joedb::Writable.
Definition at line 172 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 131 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 96 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 66 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 158 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 250 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 222 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 22 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 23 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 27 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 10 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 11 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 26 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 236 of file SQL_Dump_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 165 of file SQL_Dump_Writable.cpp.