1#ifndef joedb_Interpreter_Dump_Writable_declared
2#define joedb_Interpreter_Dump_Writable_declared
15 const bool blob_wanted;
17 void write_type(
Type type);
24 bool blob_wanted =
true
28 blob_wanted(blob_wanted)
42 const std::string &name,
50 const std::string &name
52 void custom(
const std::string &name)
override;
76 #define TYPE_MACRO(type, return_type, type_id, R, W)\
77 void update_##type_id\
84 void update_vector_##type_id\
Interpreter_Writable interpreter_writable
Interpreter_Dump_Writable_Parent(std::ostream &out, bool blob_wanted)
Interpreter_Dump_Writable(std::ostream &out, bool blob_wanted=true)
void create_table(const std::string &name) override
void comment(const std::string &comment) override
const char * get_name() const
void insert_into(Table_Id table_id, Record_Id record_id) override
Interpreter_Writable(std::ostream &out, const Database_Schema &schema, bool blob_wanted=true)
void rename_table(Table_Id table_id, const std::string &name) override
void custom(const std::string &name) override
void drop_field(Table_Id table_id, Field_Id field_id) override
void timestamp(int64_t timestamp) override
void on_blob(Blob blob) override
void add_field(Table_Id table_id, const std::string &name, Type type) override
Blob write_blob(const std::string &data) override
bool wants_blob_data() const override
void delete_from(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 soft_checkpoint() override
void valid_data() override
void drop_table(Table_Id table_id) override
void rename_field(Table_Id table_id, Field_Id field_id, const std::string &name) override
void write_update(const char *command, Table_Id table_id, Record_Id record_id, Field_Id field_id)
Superclass with all joedb journal event listeners as virtual functions.