#include <joedb/journal/Readonly_Journal.h>
|
enum class | operation_t : uint8_t {
create_table = 0x01
, drop_table = 0x02
, add_field = 0x03
, drop_field = 0x04
,
insert_into = 0x05
, delete_from = 0x06
, update = 0x07
, append = 0x08
,
update_last = 0x09
, comment = 0x0a
, timestamp = 0x0b
, rename_table = 0x0c
,
rename_field = 0x0d
, valid_data = 0x0e
, insert_vector = 0x0f
, custom = 0x10
,
update_vector = 0x11
, update_next = 0x12
, blob = 0x13
, updates = 0x80
,
TYPE_MACRO
} |
|
Definition at line 15 of file Readonly_Journal.h.
◆ Check
Enumerator |
---|
joedb | |
version | |
big_size | |
small_size | |
set_checkpoint | |
checkpoint_mismatch | |
all | |
readonly | |
overwrite | |
none | |
Definition at line 21 of file Readonly_Journal.h.
◆ operation_t
Enumerator |
---|
create_table | |
drop_table | |
add_field | |
drop_field | |
insert_into | |
delete_from | |
update | |
append | |
update_last | |
comment | |
timestamp | |
rename_table | |
rename_field | |
valid_data | |
insert_vector | |
custom | |
update_vector | |
update_next | |
blob | |
updates | |
TYPE_MACRO | |
Definition at line 65 of file Readonly_Journal.h.
◆ Readonly_Journal() [1/3]
◆ Readonly_Journal() [2/3]
◆ Readonly_Journal() [3/3]
◆ ~Readonly_Journal()
virtual joedb::Readonly_Journal::~Readonly_Journal |
( |
| ) |
|
|
virtualdefault |
◆ at_end_of_file()
bool joedb::Readonly_Journal::at_end_of_file |
( |
| ) |
const |
◆ check_flag()
static bool joedb::Readonly_Journal::check_flag |
( |
Check |
check, |
|
|
Check |
flag |
|
) |
| |
|
inlinestatic |
◆ get_async_blob_reader()
◆ get_async_reader()
Async_Reader joedb::Readonly_Journal::get_async_reader |
( |
int64_t |
start_position, |
|
|
int64_t |
until_position |
|
) |
| const |
|
inline |
◆ get_async_tail_reader()
Async_Reader joedb::Readonly_Journal::get_async_tail_reader |
( |
int64_t |
start_position | ) |
const |
|
inline |
◆ get_checkpoint_position()
int64_t joedb::Readonly_Journal::get_checkpoint_position |
( |
| ) |
const |
|
inline |
◆ get_file()
const Buffered_File & joedb::Readonly_Journal::get_file |
( |
| ) |
const |
|
inline |
◆ get_file_version()
uint32_t joedb::Readonly_Journal::get_file_version |
( |
| ) |
const |
|
inline |
◆ get_position()
int64_t joedb::Readonly_Journal::get_position |
( |
| ) |
const |
|
inline |
◆ get_writable_journal()
◆ is_empty()
bool joedb::Readonly_Journal::is_empty |
( |
| ) |
const |
|
inline |
◆ is_second_checkpoint_copy()
static constexpr bool joedb::Readonly_Journal::is_second_checkpoint_copy |
( |
int64_t |
offset | ) |
|
|
inlinestaticconstexpr |
◆ is_shared()
bool joedb::Readonly_Journal::is_shared |
( |
| ) |
const |
|
inline |
◆ one_step()
void joedb::Readonly_Journal::one_step |
( |
Writable & |
writable | ) |
|
◆ play_until()
void joedb::Readonly_Journal::play_until |
( |
Writable & |
writable, |
|
|
int64_t |
end |
|
) |
| |
◆ play_until_checkpoint()
void joedb::Readonly_Journal::play_until_checkpoint |
( |
Writable & |
writable | ) |
|
|
inline |
◆ pull()
void joedb::Readonly_Journal::pull |
( |
| ) |
|
◆ read_type()
◆ replay_log()
void joedb::Readonly_Journal::replay_log |
( |
Writable & |
writable | ) |
|
◆ replay_with_checkpoint_comments()
void joedb::Readonly_Journal::replay_with_checkpoint_comments |
( |
Writable & |
writable | ) |
|
◆ rewind()
void joedb::Readonly_Journal::rewind |
( |
| ) |
|
◆ safe_read_string()
std::string joedb::Readonly_Journal::safe_read_string |
( |
| ) |
|
|
protected |
◆ seek_to_checkpoint()
void joedb::Readonly_Journal::seek_to_checkpoint |
( |
| ) |
|
|
inline |
◆ set_position()
void joedb::Readonly_Journal::set_position |
( |
int64_t |
position | ) |
|
◆ Journal_Hasher
◆ Writable_Journal
◆ checkpoint_index
unsigned joedb::Readonly_Journal::checkpoint_index |
|
protected |
◆ checkpoint_offset
constexpr int64_t joedb::Readonly_Journal::checkpoint_offset = 5 + 4 |
|
staticconstexpr |
◆ checkpoint_position
int64_t joedb::Readonly_Journal::checkpoint_position |
|
protected |
◆ compatible_version
constexpr uint32_t joedb::Readonly_Journal::compatible_version = 0x00000004 |
|
staticconstexpr |
◆ field_of_last_update
Field_Id joedb::Readonly_Journal::field_of_last_update |
|
protected |
◆ file
◆ file_version
uint32_t joedb::Readonly_Journal::file_version |
|
protected |
◆ header_size
constexpr int64_t joedb::Readonly_Journal::header_size = 41 |
|
staticconstexpr |
◆ record_of_last_operation
Record_Id joedb::Readonly_Journal::record_of_last_operation |
|
protected |
◆ table_of_last_operation
Table_Id joedb::Readonly_Journal::table_of_last_operation |
|
protected |
◆ version_number
constexpr uint32_t joedb::Readonly_Journal::version_number = 0x00000004 |
|
staticconstexpr |
The documentation for this class was generated from the following files: