MIDAS
|
Public Member Functions | |
HsSqlSchema () | |
~HsSqlSchema () | |
void | print (bool print_tags=true) const |
int | get_transaction_count () |
void | reset_transaction_count () |
void | increment_transaction_count () |
int | close_transaction () |
int | flush_buffers () |
int | close () |
int | write_event (const time_t t, const char *data, const int data_size) |
int | match_event_var (const char *event_name, const char *var_name, const int var_index) |
int | read_last_written (const time_t timestamp, const int debug, time_t *last_written) |
int | read_data (const time_t start_time, const time_t end_time, const int num_var, const std::vector< int > &var_schema_index, const int var_index[], const int debug, std::vector< time_t > &last_time, MidasHistoryBufferInterface *buffer[]) |
![]() | |
HsSchema () | |
virtual | ~HsSchema () |
Public Attributes | |
SqlBase * | sql |
std::vector< std::string > | disconnected_buffer |
std::string | table_name |
std::vector< std::string > | column_names |
std::vector< std::string > | column_types |
![]() | |
std::string | event_name |
time_t | time_from = 0 |
time_t | time_to = 0 |
std::vector< HsSchemaEntry > | variables |
std::vector< int > | offsets |
int | n_bytes = 0 |
int | count_write_undersize = 0 |
int | count_write_oversize = 0 |
int | write_max_size = 0 |
int | write_min_size = 0 |
bool | disabled = true |
Private Attributes | |
int | table_transaction_count |
Static Private Attributes | |
static std::map< SqlBase *, int > | global_transaction_count |
Definition at line 693 of file history_schema.cxx.
|
inline |
Definition at line 700 of file history_schema.cxx.
|
inline |
Definition at line 706 of file history_schema.cxx.
|
inlinevirtual |
Implements HsSchema.
Definition at line 717 of file history_schema.cxx.
int HsSqlSchema::close_transaction | ( | ) |
Definition at line 4027 of file history_schema.cxx.
|
inlinevirtual |
Implements HsSchema.
Definition at line 716 of file history_schema.cxx.
int HsSqlSchema::get_transaction_count | ( | ) |
Definition at line 4405 of file history_schema.cxx.
void HsSqlSchema::increment_transaction_count | ( | ) |
Definition at line 4421 of file history_schema.cxx.
|
virtual |
Reimplemented from HsSchema.
Definition at line 4059 of file history_schema.cxx.
Reimplemented from HsSchema.
Definition at line 797 of file history_schema.cxx.
|
virtual |
Implements HsSchema.
Definition at line 4316 of file history_schema.cxx.
|
virtual |
Implements HsSchema.
Definition at line 4269 of file history_schema.cxx.
void HsSqlSchema::reset_transaction_count | ( | ) |
Definition at line 4413 of file history_schema.cxx.
Implements HsSchema.
Definition at line 4145 of file history_schema.cxx.
std::vector<std::string> HsSqlSchema::column_names |
Definition at line 697 of file history_schema.cxx.
std::vector<std::string> HsSqlSchema::column_types |
Definition at line 698 of file history_schema.cxx.
std::vector<std::string> HsSqlSchema::disconnected_buffer |
Definition at line 695 of file history_schema.cxx.
Definition at line 736 of file history_schema.cxx.
SqlBase* HsSqlSchema::sql |
Definition at line 694 of file history_schema.cxx.
std::string HsSqlSchema::table_name |
Definition at line 696 of file history_schema.cxx.
|
private |
Definition at line 735 of file history_schema.cxx.