MIDAS
|
Public Member Functions | |
HsSqlSchema () | |
~HsSqlSchema () | |
void | remove_inactive_columns () |
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 * | fSql = NULL |
std::string | fTableName |
std::vector< std::string > | fColumnNames |
std::vector< std::string > | fColumnTypes |
std::vector< bool > | fColumnInactive |
![]() | |
std::string | fEventName |
time_t | fTimeFrom = 0 |
time_t | fTimeTo = 0 |
std::vector< HsSchemaEntry > | fVariables |
std::vector< int > | fOffsets |
int | fNumBytes = 0 |
int | fCountWriteUndersize = 0 |
int | fCountWriteOversize = 0 |
int | fWriteMaxSize = 0 |
int | fWriteMinSize = 0 |
bool | fDisabled = true |
Private Attributes | |
int | fTableTransactionCount = 0 |
Static Private Attributes | |
static std::map< SqlBase *, int > | gfTransactionCount |
Definition at line 680 of file history_schema.cxx.
|
inline |
Definition at line 692 of file history_schema.cxx.
|
inline |
Definition at line 697 of file history_schema.cxx.
|
inlinevirtual |
Implements HsSchema.
Definition at line 709 of file history_schema.cxx.
int HsSqlSchema::close_transaction | ( | ) |
Definition at line 4018 of file history_schema.cxx.
|
inlinevirtual |
Implements HsSchema.
Definition at line 708 of file history_schema.cxx.
int HsSqlSchema::get_transaction_count | ( | ) |
Definition at line 4471 of file history_schema.cxx.
void HsSqlSchema::increment_transaction_count | ( | ) |
Definition at line 4487 of file history_schema.cxx.
|
virtual |
Reimplemented from HsSchema.
Definition at line 4050 of file history_schema.cxx.
Reimplemented from HsSchema.
Definition at line 795 of file history_schema.cxx.
|
virtual |
Implements HsSchema.
Definition at line 4382 of file history_schema.cxx.
|
virtual |
Implements HsSchema.
Definition at line 4335 of file history_schema.cxx.
|
virtual |
Implements HsSchema.
Definition at line 4137 of file history_schema.cxx.
void HsSqlSchema::reset_transaction_count | ( | ) |
Definition at line 4479 of file history_schema.cxx.
Implements HsSchema.
Definition at line 4198 of file history_schema.cxx.
std::vector<bool> HsSqlSchema::fColumnInactive |
Definition at line 688 of file history_schema.cxx.
std::vector<std::string> HsSqlSchema::fColumnNames |
Definition at line 686 of file history_schema.cxx.
std::vector<std::string> HsSqlSchema::fColumnTypes |
Definition at line 687 of file history_schema.cxx.
Definition at line 684 of file history_schema.cxx.
std::string HsSqlSchema::fTableName |
Definition at line 685 of file history_schema.cxx.
|
private |
Definition at line 727 of file history_schema.cxx.
Definition at line 728 of file history_schema.cxx.