8#ifndef OM_DB_META_ROW_H
9#define OM_DB_META_ROW_H
25 return TRow::isKeyLess(*
dynamic_cast<TRow *
>(i_left.get()), *
dynamic_cast<TRow *
>(i_right.get()));
31 return TRow::isKeyEqual(*
dynamic_cast<TRow *
>(i_left.get()), *
dynamic_cast<TRow *
>(i_right.get()));
304 static vector<TypeDicRow>::const_iterator
byKey(
int i_modelId,
int i_typeId,
const vector<TypeDicRow> & i_rowVec);
542 static vector<ParamDicRow>::const_iterator
byKey(
int i_modelId,
int i_paramId,
const vector<ParamDicRow> & i_rowVec);
814 static vector<TableDicRow>::const_iterator
byKey(
int i_modelId,
int i_tableId,
const vector<TableDicRow> & i_rowVec);
1030 static vector<TableAccRow>::const_iterator
byKey(
int i_modelId,
int i_tableId,
int i_accId,
const vector<TableAccRow> & i_rowVec);
1237 static vector<EntityDicRow>::const_iterator
byKey(
int i_modelId,
int i_entityId,
const vector<EntityDicRow> & i_rowVec);
1639 static vector<RunLstRow>::const_iterator
byKey(
int i_runId,
const vector<RunLstRow> & i_rowVec);
1715 static vector<WorksetLstRow>::const_iterator
byKey(
int i_setId,
const vector<WorksetLstRow> & i_rowVec);
1753 static vector<WorksetTxtRow>::const_iterator
byKey(
int i_setId,
int i_langId,
const vector<WorksetTxtRow> & i_rowVec);
1808 static vector<WorksetParamRow>::const_iterator
byKey(
int i_setId,
int i_paramId,
const vector<WorksetParamRow> & i_rowVec);
1850 static vector<WorksetParamTxtRow>::const_iterator
byKey(
1851 int i_setId,
int i_paramId,
int i_langId,
const vector<WorksetParamTxtRow> & i_rowVec
1899 static vector<TaskLstRow>::const_iterator
byKey(
int i_taskId,
const vector<TaskLstRow> & i_rowVec);
1937 static vector<TaskTxtRow>::const_iterator
byKey(
int i_taskId,
int i_langId,
const vector<TaskTxtRow> & i_rowVec);
1980 static vector<TaskSetRow>::const_iterator
byKey(
int i_taskId,
int i_setId,
const vector<TaskSetRow> & i_rowVec);
2034 static vector<TaskRunLstRow>::const_iterator
byKey(
int i_taskRunId,
const vector<TaskRunLstRow> & i_rowVec);
2072 static vector<TaskRunSetRow>::const_iterator
byKey(
int i_taskRunId,
int i_runId,
const vector<TaskRunSetRow> & i_rowVec);
OpenM++ data library: public interface for db common structures.
openM++ namespace
Definition: log.h:32
bool isStringType(const char *i_typeName)
return true if model type is string (varchar)
Definition: helper.cpp:266
bool isBigIntType(const char *i_typeName)
return true if model type is bigint (64 bit)
Definition: helper.cpp:272
std::unique_ptr< IRowBase > IRowBaseUptr
unique pointer to db row
Definition: omHelper.h:236
bool isIntType(const char *i_typeName, int i_typeId)
return true if model type is integer: not float, string, boolean, bigint (if type is not a built-in t...
Definition: helper.cpp:283
bool isFloatType(const char *i_typeName)
return true if model type is float (float, real, double or time)
Definition: helper.cpp:293
bool isBuiltInType(int i_typeId)
return true if model type id is built-in type id, ie: int, double, logical
Definition: helper.cpp:290
bool isTimeType(const char *i_typeName)
return true if model type is Time
Definition: helper.cpp:302
bool isBoolType(const char *i_typeName)
return true if model type is boolean (logical)
Definition: helper.cpp:260
OpenM++: public interface for log and trace support.
generic two string columns: (code, value) table row.
Definition: dbMetaRow.h:2077
static bool isKeyEqual(const CodeValueRow &i_left, const CodeValueRow &i_right)
equal comparator by primary key: code.
Definition: dbMetaRow.cpp:1052
CodeValueRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:2094
string value
value VARCHAR(...) NOT NULL
Definition: dbMetaRow.h:2082
CodeValueRow(const string &i_code)
create row with supplied primary key field values.
Definition: dbMetaRow.h:2091
static bool isKeyLess(const CodeValueRow &i_left, const CodeValueRow &i_right)
less comparator by primary key: code.
Definition: dbMetaRow.cpp:1046
string code
code VARCHAR(...) NOT NULL
Definition: dbMetaRow.h:2079
CodeValueRow(const string &i_code, const string i_value)
create row with supplied field values.
Definition: dbMetaRow.h:2085
entity_attr table row.
Definition: dbMetaRow.h:1294
const string columnName(void) const
return db column name based on attribute id, example: attr1
Definition: dbMetaRow.cpp:641
string name
attr_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1305
int attrId
attr_id INT NOT NULL
Definition: dbMetaRow.h:1302
EntityAttrRow(int i_modelId, int i_entityId, int i_attrId)
create row with supplied key field values.
Definition: dbMetaRow.h:1314
int entityId
entity_id INT NOT NULL
Definition: dbMetaRow.h:1299
bool isInternal
is_internal SMALLINT NOT NULL
Definition: dbMetaRow.h:1311
static bool isKeyLess(const EntityAttrRow &i_left, const EntityAttrRow &i_right)
less comparator by unique key: model id, model entity id, attribute id.
Definition: dbMetaRow.cpp:625
EntityAttrRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1324
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1296
static bool isKeyEqual(const EntityAttrRow &i_left, const EntityAttrRow &i_right)
equal comparator by unique key: model id, model entity id, attribute id.
Definition: dbMetaRow.cpp:634
int typeId
mod_type_id INT NOT NULL
Definition: dbMetaRow.h:1308
entity_attr_txt table row and language code.
Definition: dbMetaRow.h:1383
static bool uniqueLangKeyEqual(const EntityAttrTxtLangRow &i_left, const EntityAttrTxtLangRow &i_right)
equal comparator by unique key: model id, entity id, attribute name, language code.
Definition: dbMetaRow.cpp:674
string langCode
language code
Definition: dbMetaRow.h:1385
static bool uniqueLangKeyLess(const EntityAttrTxtLangRow &i_left, const EntityAttrTxtLangRow &i_right)
less comparator by unique key: model id, entity id, attribute name, language code.
Definition: dbMetaRow.cpp:664
entity_attr_txt table row.
Definition: dbMetaRow.h:1340
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1357
int entityId
entity_id INT NOT NULL
Definition: dbMetaRow.h:1345
static bool isKeyLess(const EntityAttrTxtRow &i_left, const EntityAttrTxtRow &i_right)
less comparator by unique key: model id, model entity id, attribute id, language id.
Definition: dbMetaRow.cpp:647
int attrId
attr_id INT NOT NULL
Definition: dbMetaRow.h:1348
EntityAttrTxtRow(int i_modelId, int i_entityId, int i_attrId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1360
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1351
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1342
static bool isKeyEqual(const EntityAttrTxtRow &i_left, const EntityAttrTxtRow &i_right)
equal comparator by unique key: model id, model entity id, attribute id, language id.
Definition: dbMetaRow.cpp:657
EntityAttrTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1370
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1354
entity_dic table row.
Definition: dbMetaRow.h:1200
int entityHid
entity_hid INT NOT NULL, – unique entity id
Definition: dbMetaRow.h:1211
static bool isKeyLess(const EntityDicRow &i_left, const EntityDicRow &i_right)
less comparator by unique key: model id, model entity id.
Definition: dbMetaRow.cpp:570
int entityId
model_entity_id INT NOT NULL
Definition: dbMetaRow.h:1205
EntityDicRow(int i_modelId, int i_entityId)
create row with supplied key field values.
Definition: dbMetaRow.h:1217
EntityDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1226
string entityName
entity_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1208
static bool isKeyEqual(const EntityDicRow &i_left, const EntityDicRow &i_right)
equal comparator by primary key: model id, entity id.
Definition: dbMetaRow.cpp:577
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1202
string digest
entity_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1214
static vector< EntityDicRow >::const_iterator byKey(int i_modelId, int i_entityId, const vector< EntityDicRow > &i_rowVec)
find row by unique key: model id, model entity id.
Definition: dbMetaRow.cpp:583
entity_dic_txt table row and language code.
Definition: dbMetaRow.h:1281
string langCode
language code
Definition: dbMetaRow.h:1283
static bool uniqueLangKeyEqual(const EntityDicTxtLangRow &i_left, const EntityDicTxtLangRow &i_right)
equal comparator by unique key: model id, entity id, language code.
Definition: dbMetaRow.cpp:618
static bool uniqueLangKeyLess(const EntityDicTxtLangRow &i_left, const EntityDicTxtLangRow &i_right)
less comparator by unique key: model id, entity id, language code.
Definition: dbMetaRow.cpp:609
entity_dic_txt table row.
Definition: dbMetaRow.h:1242
static bool isKeyEqual(const EntityDicTxtRow &i_left, const EntityDicTxtRow &i_right)
equal comparator by unique key: model id, model entity id, language id.
Definition: dbMetaRow.cpp:602
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1253
static bool isKeyLess(const EntityDicTxtRow &i_left, const EntityDicTxtRow &i_right)
less comparator by unique key: model id, model entity id, language id.
Definition: dbMetaRow.cpp:593
EntityDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1268
int entityId
entity_id INT NOT NULL
Definition: dbMetaRow.h:1247
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1250
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1244
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1256
EntityDicTxtRow(int i_modelId, int i_entityId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1259
group_lst table row.
Definition: dbMetaRow.h:1396
GroupLstRow(int i_modelId, int i_groupId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1413
static bool isKeyEqual(const GroupLstRow &i_left, const GroupLstRow &i_right)
equal comparator by primary key: model id, group id.
Definition: dbMetaRow.cpp:688
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1401
bool isParam
is_parameter SMALLINT NOT NULL
Definition: dbMetaRow.h:1404
static bool isKeyLess(const GroupLstRow &i_left, const GroupLstRow &i_right)
less comparator by primary key: model id, group id.
Definition: dbMetaRow.cpp:681
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1398
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:1410
GroupLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1422
string name
group_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1407
group_pc table row.
Definition: dbMetaRow.h:1487
static bool isKeyEqual(const GroupPcRow &i_left, const GroupPcRow &i_right)
equal comparator by primary key: model id, group id, child position.
Definition: dbMetaRow.cpp:733
static bool isKeyLess(const GroupPcRow &i_left, const GroupPcRow &i_right)
less comparator by primary key: model id, group id, child position.
Definition: dbMetaRow.cpp:724
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1492
GroupPcRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1513
int leafId
leaf_id INT NULL
Definition: dbMetaRow.h:1501
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1489
int childGroupId
child_group_id INT NULL
Definition: dbMetaRow.h:1498
int childPos
child_pos INT NOT NULL
Definition: dbMetaRow.h:1495
GroupPcRow(int i_modelId, int i_groupId, int i_childPos)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1504
group_txt table row and language code.
Definition: dbMetaRow.h:1474
static bool uniqueLangKeyEqual(const GroupTxtLangRow &i_left, const GroupTxtLangRow &i_right)
equal comparator by unique key: model id, group id, language code.
Definition: dbMetaRow.cpp:718
static bool uniqueLangKeyLess(const GroupTxtLangRow &i_left, const GroupTxtLangRow &i_right)
less comparator by unique key: model id, group id, language code.
Definition: dbMetaRow.cpp:709
string langCode
language code
Definition: dbMetaRow.h:1476
group_txt table row.
Definition: dbMetaRow.h:1435
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1446
GroupTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1461
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1443
static bool isKeyEqual(const GroupTxtRow &i_left, const GroupTxtRow &i_right)
equal comparator by primary key: model id, group id, language id.
Definition: dbMetaRow.cpp:703
static bool isKeyLess(const GroupTxtRow &i_left, const GroupTxtRow &i_right)
less comparator by primary key: model id, group id, language id.
Definition: dbMetaRow.cpp:694
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1437
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1449
GroupTxtRow(int i_modelId, int i_groupId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1452
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1440
db-row abstract base
Definition: omHelper.h:231
lang_lst table row.
Definition: dbMetaRow.h:37
LangLstRow(const string &i_code)
create row with supplied unique key: language code.
Definition: dbMetaRow.h:55
static bool isCodeEqual(const LangLstRow &i_left, const LangLstRow &i_right)
equal comparator by unique key: language code.
Definition: dbMetaRow.cpp:31
LangLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:62
string name
lang_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:45
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:39
LangLstRow(int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:48
static bool isKeyLess(const LangLstRow &i_left, const LangLstRow &i_right)
less comparator by primary key: language id.
Definition: dbMetaRow.cpp:13
string code
lang_code VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:42
static bool isCodeLess(const LangLstRow &i_left, const LangLstRow &i_right)
less comparator by unique key: language code.
Definition: dbMetaRow.cpp:25
static bool isKeyEqual(const LangLstRow &i_left, const LangLstRow &i_right)
equal comparator by primary key: language id.
Definition: dbMetaRow.cpp:19
lang_word table row.
Definition: dbMetaRow.h:81
string code
word_code VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:86
LangWordRow(int i_langId, const string &i_code)
create row with supplied primary key field values.
Definition: dbMetaRow.h:92
static bool isKeyLess(const LangWordRow &i_left, const LangWordRow &i_right)
less comparator by primary key: language id and word code.
Definition: dbMetaRow.cpp:37
LangWordRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:99
string value
word_value VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:89
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:83
static bool isKeyEqual(const LangWordRow &i_left, const LangWordRow &i_right)
equal comparator by primary key: language id and word code.
Definition: dbMetaRow.cpp:43
model_dic table row and default model language code.
Definition: dbMetaRow.h:161
string defaultLangCode
default model language code
Definition: dbMetaRow.h:163
model_dic table row.
Definition: dbMetaRow.h:112
string version
model_ver VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:126
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:129
int defaultLangId
default_lang_id INT NOT NULL
Definition: dbMetaRow.h:132
string name
model_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:117
int type
model_type INT NOT NULL
Definition: dbMetaRow.h:123
ModelDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:147
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:114
static bool isKeyLess(const ModelDicRow &i_left, const ModelDicRow &i_right)
less comparator by primary key: model id.
Definition: dbMetaRow.cpp:49
static bool isKeyEqual(const ModelDicRow &i_left, const ModelDicRow &i_right)
equal comparator by primary key: model id.
Definition: dbMetaRow.cpp:55
ModelDicRow(int i_modelId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:136
string digest
model_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:120
model_dic_txt table row and language code.
Definition: dbMetaRow.h:203
static bool uniqueLangKeyEqual(const ModelDicTxtLangRow &i_left, const ModelDicTxtLangRow &i_right)
equal comparator by unique key: model id and language code.
Definition: dbMetaRow.cpp:79
static bool uniqueLangKeyLess(const ModelDicTxtLangRow &i_left, const ModelDicTxtLangRow &i_right)
less comparator by unique key: model id and language code.
Definition: dbMetaRow.cpp:73
string langCode
language code
Definition: dbMetaRow.h:205
model_dic_txt table row.
Definition: dbMetaRow.h:168
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:179
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:176
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:173
ModelDicTxtRow(int i_modelId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:182
static bool isKeyEqual(const ModelDicTxtRow &i_left, const ModelDicTxtRow &i_right)
equal comparator by primary key: model id and language id.
Definition: dbMetaRow.cpp:67
ModelDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:190
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:170
static bool isKeyLess(const ModelDicTxtRow &i_left, const ModelDicTxtRow &i_right)
less comparator by primary key: model id and language id.
Definition: dbMetaRow.cpp:61
model_word table row and language code.
Definition: dbMetaRow.h:251
string langCode
language code
Definition: dbMetaRow.h:253
static bool uniqueLangKeyLess(const ModelWordLangRow &i_left, const ModelWordLangRow &i_right)
less comparator by unique key: model id, language code, word code.
Definition: dbMetaRow.cpp:100
static bool uniqueLangKeyEqual(const ModelWordLangRow &i_left, const ModelWordLangRow &i_right)
equal comparator by unique key: model id, language code, word code.
Definition: dbMetaRow.cpp:109
model_word table row.
Definition: dbMetaRow.h:216
ModelWordRow(int i_modelId, int i_langId, const string &i_code)
create row with supplied primary key field values.
Definition: dbMetaRow.h:230
string code
word_code VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:224
static bool isKeyLess(const ModelWordRow &i_left, const ModelWordRow &i_right)
less comparator by primary key: model id, language id, word code.
Definition: dbMetaRow.cpp:85
ModelWordRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:238
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:221
string value
word_value VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:227
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:218
static bool isKeyEqual(const ModelWordRow &i_left, const ModelWordRow &i_right)
equal comparator by primary key: model id, language id, word code.
Definition: dbMetaRow.cpp:94
parameter_dic join to model_parameter_dic table row.
Definition: dbMetaRow.h:473
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:499
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:475
ParamDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:531
ParamDicRow(int i_modelId, int i_paramId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:514
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:493
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:478
string digest
parameter_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:487
static vector< ParamDicRow >::const_iterator byKey(int i_modelId, int i_paramId, const vector< ParamDicRow > &i_rowVec)
find row by unique key: model id, model parameter id.
Definition: dbMetaRow.cpp:230
string dbRunTable
db_run_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:505
string importDigest
import_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:511
bool isExtendable
is_extendable SMALLINT NOT NULL
Definition: dbMetaRow.h:496
static bool isKeyEqual(const ParamDicRow &i_left, const ParamDicRow &i_right)
equal comparator by unique key: model id, model parameter id.
Definition: dbMetaRow.cpp:224
string dbSetTable
db_set_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:508
static bool isKeyLess(const ParamDicRow &i_left, const ParamDicRow &i_right)
less comparator by unique key: model id, model parameter id.
Definition: dbMetaRow.cpp:218
int paramHid
parameter_hid INT NOT NULL, – unique parameter id
Definition: dbMetaRow.h:484
int rank
parameter_rank INT NOT NULL
Definition: dbMetaRow.h:490
string paramName
parameter_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:481
int numCumulated
num_cumulated INT NOT NULL
Definition: dbMetaRow.h:502
parameter_dic_txt join to model_parameter_dic table row and language code.
Definition: dbMetaRow.h:629
static bool uniqueLangKeyLess(const ParamDicTxtLangRow &i_left, const ParamDicTxtLangRow &i_right)
less comparator by unique key: model id, parameter id, language code.
Definition: dbMetaRow.cpp:267
string langCode
language code
Definition: dbMetaRow.h:631
static bool uniqueLangKeyEqual(const ParamDicTxtLangRow &i_left, const ParamDicTxtLangRow &i_right)
equal comparator by unique key: model id, parameter id, language code.
Definition: dbMetaRow.cpp:276
parameter_dic_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:590
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:601
ParamDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:616
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:592
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:598
static bool isKeyLess(const ParamDicTxtRow &i_left, const ParamDicTxtRow &i_right)
less comparator by unique key: model id, model parameter id, language id.
Definition: dbMetaRow.cpp:252
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:604
ParamDicTxtRow(int i_modelId, int i_paramId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:607
static bool isKeyEqual(const ParamDicTxtRow &i_left, const ParamDicTxtRow &i_right)
equal comparator by unique key: model id, model parameter id, language id.
Definition: dbMetaRow.cpp:261
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:595
parameter_dims join to model_parameter_dic table row.
Definition: dbMetaRow.h:642
ParamDimsRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:668
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:650
ParamDimsRow(int i_modelId, int i_paramId, int i_dimId)
create row with supplied key field values.
Definition: dbMetaRow.h:659
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:644
static bool isKeyEqual(const ParamDimsRow &i_left, const ParamDimsRow &i_right)
equal comparator by unique key: model id, model parameter id, dimension id.
Definition: dbMetaRow.cpp:291
static bool isKeyLess(const ParamDimsRow &i_left, const ParamDimsRow &i_right)
less comparator by unique key: model id, model parameter id, dimension id.
Definition: dbMetaRow.cpp:282
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:647
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:656
const string columnName(void) const
return db column name based on dimension id, example: dim1
Definition: dbMetaRow.cpp:297
string name
dim_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:653
parameter_dims_txt table row and language code.
Definition: dbMetaRow.h:728
static bool uniqueLangKeyEqual(const ParamDimsTxtLangRow &i_left, const ParamDimsTxtLangRow &i_right)
equal comparator by unique key: model id, parameter id, dimension name, language code.
Definition: dbMetaRow.cpp:330
string langCode
language code
Definition: dbMetaRow.h:730
static bool uniqueLangKeyLess(const ParamDimsTxtLangRow &i_left, const ParamDimsTxtLangRow &i_right)
less comparator by unique key: model id, parameter id, dimension name, language code.
Definition: dbMetaRow.cpp:320
parameter_dims_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:685
static bool isKeyLess(const ParamDimsTxtRow &i_left, const ParamDimsTxtRow &i_right)
less comparator by unique key: model id, model parameter id, dimension id, language id.
Definition: dbMetaRow.cpp:303
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:690
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:699
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:696
static bool isKeyEqual(const ParamDimsTxtRow &i_left, const ParamDimsTxtRow &i_right)
equal comparator by unique key: model id, model parameter id, dimension id, language id.
Definition: dbMetaRow.cpp:313
ParamDimsTxtRow(int i_modelId, int i_paramId, int i_dimId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:705
ParamDimsTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:715
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:687
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:702
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:693
parameter_dic join to model_parameter_import table row.
Definition: dbMetaRow.h:547
static bool isKeyEqual(const ParamImportRow &i_left, const ParamImportRow &i_right)
equal comparator by unique key: model id, model parameter id.
Definition: dbMetaRow.cpp:246
static bool isKeyLess(const ParamImportRow &i_left, const ParamImportRow &i_right)
less comparator by unique key: model id, model parameter id.
Definition: dbMetaRow.cpp:240
bool isSampleDim
is_sample_dim SMALLINT NOT NULL
Definition: dbMetaRow.h:564
ParamImportRow(int i_modelId, int i_paramId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:567
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:552
ParamImportRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:577
string fromName
from_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:558
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:549
string fromModel
from_model_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:561
int paramHid
parameter_hid INT NOT NULL, – unique parameter id
Definition: dbMetaRow.h:555
profile_lst table row.
Definition: dbMetaRow.h:1526
ProfileLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1534
ProfileLstRow(const string &i_name)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1531
string name
profile_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1528
static bool isKeyLess(const ProfileLstRow &i_left, const ProfileLstRow &i_right)
less comparator by primary key: profile name.
Definition: dbMetaRow.cpp:740
static bool isKeyEqual(const ProfileLstRow &i_left, const ProfileLstRow &i_right)
equal comparator by primary key: profile name.
Definition: dbMetaRow.cpp:746
profile_option table row.
Definition: dbMetaRow.h:1547
ProfileOptionRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1565
string value
option_value VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1555
string key
option_key VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1552
ProfileOptionRow(const string &i_name, const string &i_key)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1558
string name
profile_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1549
static bool isKeyEqual(const ProfileOptionRow &i_left, const ProfileOptionRow &i_right)
equal comparator by primary key: profile name, option key.
Definition: dbMetaRow.cpp:758
static bool isKeyLess(const ProfileOptionRow &i_left, const ProfileOptionRow &i_right)
less comparator by primary key: profile name, option key.
Definition: dbMetaRow.cpp:752
run_lst table row.
Definition: dbMetaRow.h:1578
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1607
RunLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1628
static bool isKeyEqual(const RunLstRow &i_left, const RunLstRow &i_right)
equal comparator by primary key: run id.
Definition: dbMetaRow.cpp:770
int subCompleted
sub_completed INT NOT NULL
Definition: dbMetaRow.h:1595
int subRestart
sub_restart INT NOT NULL
Definition: dbMetaRow.h:1598
static vector< RunLstRow >::const_iterator byKey(int i_runId, const vector< RunLstRow > &i_rowVec)
find row by primary key: run id.
Definition: dbMetaRow.cpp:776
string status
run status: i=init p=progress s=success e=error(failed)
Definition: dbMetaRow.h:1604
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1601
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1583
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1580
int subStarted
sub_started INT NOT NULL
Definition: dbMetaRow.h:1592
static bool isKeyLess(const RunLstRow &i_left, const RunLstRow &i_right)
less comparator by primary key: run id.
Definition: dbMetaRow.cpp:764
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1589
string runStamp
run_stamp VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1610
RunLstRow(int i_runId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1613
string name
run_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1586
run_option table row.
Definition: dbMetaRow.h:1644
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1646
string value
option_value VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1652
static bool isKeyLess(const RunOptionRow &i_left, const RunOptionRow &i_right)
less comparator by primary key: run id, option key.
Definition: dbMetaRow.cpp:786
RunOptionRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1662
string key
option_key VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1649
static bool isKeyEqual(const RunOptionRow &i_left, const RunOptionRow &i_right)
equal comparator by primary key: run id, option key.
Definition: dbMetaRow.cpp:792
RunOptionRow(int i_runId, const string &i_key)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1655
table_acc table row.
Definition: dbMetaRow.h:985
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:990
static bool isKeyEqual(const TableAccRow &i_left, const TableAccRow &i_right)
equal comparator by unique key: model id, model table id, accumulator id.
Definition: dbMetaRow.cpp:457
const string columnName(void) const
return db column name based on accumulator id, example: acc1
Definition: dbMetaRow.cpp:473
string name
acc_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:996
string accSrc
acc_src VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1002
static vector< TableAccRow >::const_iterator byKey(int i_modelId, int i_tableId, int i_accId, const vector< TableAccRow > &i_rowVec)
find row by unique key: model id, model table id, accumulator id.
Definition: dbMetaRow.cpp:463
int accId
acc_id INT NOT NULL
Definition: dbMetaRow.h:993
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:987
TableAccRow(int i_modelId, int i_tableId, int i_accid)
create row with supplied key field values.
Definition: dbMetaRow.h:1008
bool isDerived
is_derived SMALLINT NOT NULL
Definition: dbMetaRow.h:999
static bool isKeyLess(const TableAccRow &i_left, const TableAccRow &i_right)
less comparator by unique key: model id, model table id, accumulator id.
Definition: dbMetaRow.cpp:448
TableAccRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1019
string accSql
acc_sql VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1005
table_acc_txt table row and language code.
Definition: dbMetaRow.h:1081
string langCode
language code
Definition: dbMetaRow.h:1083
static bool uniqueLangKeyEqual(const TableAccTxtLangRow &i_left, const TableAccTxtLangRow &i_right)
equal comparator by unique key: model id, table id, accumulator id, language code.
Definition: dbMetaRow.cpp:506
static bool uniqueLangKeyLess(const TableAccTxtLangRow &i_left, const TableAccTxtLangRow &i_right)
less comparator by unique key: model id, table id, accumulator id, language code.
Definition: dbMetaRow.cpp:496
table_acc_txt table row.
Definition: dbMetaRow.h:1038
TableAccTxtRow(int i_modelId, int i_tableId, int i_accId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1058
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1055
int accId
acc_id INT NOT NULL
Definition: dbMetaRow.h:1046
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1049
TableAccTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1068
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:1043
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1040
static bool isKeyEqual(const TableAccTxtRow &i_left, const TableAccTxtRow &i_right)
equal comparator by unique key: model id, model table id, accumulator id, language id.
Definition: dbMetaRow.cpp:489
static bool isKeyLess(const TableAccTxtRow &i_left, const TableAccTxtRow &i_right)
less comparator by unique key: model id, model table id, accumulator id, language id.
Definition: dbMetaRow.cpp:479
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1052
table_dic table row.
Definition: dbMetaRow.h:741
string dbAccAll
db_acc_all_view VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:773
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:743
int tableHid
table_hid INT NOT NULL, – unique table id
Definition: dbMetaRow.h:752
string tableName
table_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:749
string importDigest
import_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:782
static bool isKeyEqual(const TableDicRow &i_left, const TableDicRow &i_right)
equal comparator by primary key: model id, table id.
Definition: dbMetaRow.cpp:344
string digest
table_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:755
string dbAccTable
db_acc_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:770
static bool isKeyLess(const TableDicRow &i_left, const TableDicRow &i_right)
less comparator by unique key: model id, model table id.
Definition: dbMetaRow.cpp:337
int rank
table_rank INT NOT NULL
Definition: dbMetaRow.h:761
TableDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:803
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:746
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:779
int exprPos
expr_dim_pos INT NOT NULL
Definition: dbMetaRow.h:776
bool isSparse
is_sparse SMALLINT NOT NULL
Definition: dbMetaRow.h:764
string dbExprTable
db_expr_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:767
TableDicRow(int i_modelId, int i_tableId)
create row with supplied key field values.
Definition: dbMetaRow.h:785
static vector< TableDicRow >::const_iterator byKey(int i_modelId, int i_tableId, const vector< TableDicRow > &i_rowVec)
find row by unique key: model id, model table id.
Definition: dbMetaRow.cpp:350
bool isUser
is_user SMALLINT NOT NULL
Definition: dbMetaRow.h:758
table_dic_txt table row and language code.
Definition: dbMetaRow.h:866
static bool uniqueLangKeyEqual(const TableDicTxtLangRow &i_left, const TableDicTxtLangRow &i_right)
equal comparator by unique key: model id, table id, language code.
Definition: dbMetaRow.cpp:385
static bool uniqueLangKeyLess(const TableDicTxtLangRow &i_left, const TableDicTxtLangRow &i_right)
less comparator by unique key: model id, table id, language code.
Definition: dbMetaRow.cpp:376
string langCode
language code
Definition: dbMetaRow.h:868
table_dic_txt table row.
Definition: dbMetaRow.h:819
TableDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:853
static bool isKeyEqual(const TableDicTxtRow &i_left, const TableDicTxtRow &i_right)
equal comparator by unique key: model id, model table id, language id.
Definition: dbMetaRow.cpp:369
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:824
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:830
string exprDescr
expr_descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:836
static bool isKeyLess(const TableDicTxtRow &i_left, const TableDicTxtRow &i_right)
less comparator by unique key: model id, model table id, language id.
Definition: dbMetaRow.cpp:360
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:821
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:827
string exprNote
expr_note VARCHAR(32000)
Definition: dbMetaRow.h:839
TableDicTxtRow(int i_modelId, int i_tableId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:842
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:833
table_dims table row.
Definition: dbMetaRow.h:879
TableDimsRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:913
string name
dim_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:890
const string columnName(void) const
return db column name based on dimension id, example: dim1
Definition: dbMetaRow.cpp:408
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:887
TableDimsRow(int i_modelId, int i_tableId, int i_dimId)
create row with supplied key field values.
Definition: dbMetaRow.h:902
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:881
static bool isKeyEqual(const TableDimsRow &i_left, const TableDimsRow &i_right)
equal comparator by unique key: model id, model table id, dimension id.
Definition: dbMetaRow.cpp:401
int dimSize
dim_size INT NOT NULL
Definition: dbMetaRow.h:899
int typeId
mod_type_id INT NOT NULL
Definition: dbMetaRow.h:893
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:884
bool isTotal
is_total SMALLINT NOT NULL
Definition: dbMetaRow.h:896
static bool isKeyLess(const TableDimsRow &i_left, const TableDimsRow &i_right)
less comparator by unique key: model id, model table id, dimension id.
Definition: dbMetaRow.cpp:392
table_dims_txt table row and language code.
Definition: dbMetaRow.h:972
string langCode
language code
Definition: dbMetaRow.h:974
static bool uniqueLangKeyLess(const TableDimsTxtLangRow &i_left, const TableDimsTxtLangRow &i_right)
less comparator by unique key: model id, table id, dimension name, language code.
Definition: dbMetaRow.cpp:431
static bool uniqueLangKeyEqual(const TableDimsTxtLangRow &i_left, const TableDimsTxtLangRow &i_right)
equal comparator by unique key: model id, table id, dimension name, language code.
Definition: dbMetaRow.cpp:441
table_dims_txt table row.
Definition: dbMetaRow.h:929
static bool isKeyLess(const TableDimsTxtRow &i_left, const TableDimsTxtRow &i_right)
less comparator by unique key: model id, model table id, dimension id, language id.
Definition: dbMetaRow.cpp:414
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:937
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:943
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:946
static bool isKeyEqual(const TableDimsTxtRow &i_left, const TableDimsTxtRow &i_right)
equal comparator by unique key: model id, model table id, dimension id, language id.
Definition: dbMetaRow.cpp:424
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:934
TableDimsTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:959
TableDimsTxtRow(int i_modelId, int i_tableId, int i_dimId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:949
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:940
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:931
table_expr table row.
Definition: dbMetaRow.h:1094
string name
expr_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1105
TableExprRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1128
static bool isKeyEqual(const TableExprRow &i_left, const TableExprRow &i_right)
equal comparator by unique key: model id, model table id, expr id.
Definition: dbMetaRow.cpp:522
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1096
const string columnName(void) const
return db column name based on expression id, example: ex_1
Definition: dbMetaRow.cpp:529
string sqlExpr
expr_sql VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1114
int decimals
expr_decimals INT NOT NULL
Definition: dbMetaRow.h:1108
static bool isKeyLess(const TableExprRow &i_left, const TableExprRow &i_right)
less comparator by unique key: model id, model table id, expr id.
Definition: dbMetaRow.cpp:513
int exprId
expr_id INT NOT NULL
Definition: dbMetaRow.h:1102
TableExprRow(int i_modelId, int i_tableId, int i_exprId)
create row with supplied key field values.
Definition: dbMetaRow.h:1117
string srcExpr
expr_src VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1111
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:1099
table_expr_txt table row and language code.
Definition: dbMetaRow.h:1187
static bool uniqueLangKeyEqual(const TableExprTxtLangRow &i_left, const TableExprTxtLangRow &i_right)
equal comparator by unique key: model id, table id, expr id, language code.
Definition: dbMetaRow.cpp:562
string langCode
language code
Definition: dbMetaRow.h:1189
static bool uniqueLangKeyLess(const TableExprTxtLangRow &i_left, const TableExprTxtLangRow &i_right)
less comparator by unique key: model id, table id, expr id, language code.
Definition: dbMetaRow.cpp:552
table_expr_txt table row.
Definition: dbMetaRow.h:1144
TableExprTxtRow(int i_modelId, int i_tableId, int i_exprId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1164
static bool isKeyLess(const TableExprTxtRow &i_left, const TableExprTxtRow &i_right)
less comparator by unique key: model id, model table id, expr id, language id.
Definition: dbMetaRow.cpp:535
int tableId
TableID INT NOT NULL.
Definition: dbMetaRow.h:1149
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1155
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1158
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1161
TableExprTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1174
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1146
static bool isKeyEqual(const TableExprTxtRow &i_left, const TableExprTxtRow &i_right)
equal comparator by unique key: model id, model table id, expr id, language id.
Definition: dbMetaRow.cpp:545
int exprId
expr_id INT NOT NULL
Definition: dbMetaRow.h:1152
task_lst table row.
Definition: dbMetaRow.h:1870
static bool isKeyEqual(const TaskLstRow &i_left, const TaskLstRow &i_right)
equal comparator by primary key: task id.
Definition: dbMetaRow.cpp:928
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1872
static vector< TaskLstRow >::const_iterator byKey(int i_taskId, const vector< TaskLstRow > &i_rowVec)
find row by primary key: task id.
Definition: dbMetaRow.cpp:934
TaskLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1888
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1875
string name
task_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1878
static bool isKeyLess(const TaskLstRow &i_left, const TaskLstRow &i_right)
less comparator by primary key: task id.
Definition: dbMetaRow.cpp:922
TaskLstRow(int i_taskId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1881
task_run_lst table row.
Definition: dbMetaRow.h:1985
static vector< TaskRunLstRow >::const_iterator byKey(int i_taskRunId, const vector< TaskRunLstRow > &i_rowVec)
find row by primary key: task run id.
Definition: dbMetaRow.cpp:1014
TaskRunLstRow(int i_taskRunId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:2011
static bool isKeyEqual(const TaskRunLstRow &i_left, const TaskRunLstRow &i_right)
equal comparator by primary key: task run id.
Definition: dbMetaRow.cpp:1008
TaskRunLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:2023
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1996
static bool isKeyLess(const TaskRunLstRow &i_left, const TaskRunLstRow &i_right)
less comparator by primary key: task run id.
Definition: dbMetaRow.cpp:1002
int taskRunId
task_run_id INT NOT NULL
Definition: dbMetaRow.h:1987
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:2005
string status
task status: i=init p=progress w=wait s=success x=exit e=error(failed)
Definition: dbMetaRow.h:2002
string runStamp
run_stamp VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:2008
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1999
string name
run_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1993
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1990
task_run_set table row.
Definition: dbMetaRow.h:2039
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:2050
int taskRunId
task_run_id INT NOT NULL
Definition: dbMetaRow.h:2041
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:2047
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:2044
static bool isKeyEqual(const TaskRunSetRow &i_left, const TaskRunSetRow &i_right)
equal comparator by primary key: task run id, run id.
Definition: dbMetaRow.cpp:1030
static bool isKeyLess(const TaskRunSetRow &i_left, const TaskRunSetRow &i_right)
less comparator by primary key: task run id, run id.
Definition: dbMetaRow.cpp:1024
TaskRunSetRow(int i_taskRunId, int i_runId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:2053
TaskRunSetRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:2061
static vector< TaskRunSetRow >::const_iterator byKey(int i_taskRunId, int i_runId, const vector< TaskRunSetRow > &i_rowVec)
find row by primary key: task run id, run id.
Definition: dbMetaRow.cpp:1036
task_set table row.
Definition: dbMetaRow.h:1955
static bool isKeyLess(const TaskSetRow &i_left, const TaskSetRow &i_right)
less comparator by primary key: task id and set id.
Definition: dbMetaRow.cpp:980
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1957
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1960
TaskSetRow(int i_taskId, int i_setId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1963
TaskSetRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1969
static vector< TaskSetRow >::const_iterator byKey(int i_taskId, int i_setId, const vector< TaskSetRow > &i_rowVec)
find row by primary key: task id and set id.
Definition: dbMetaRow.cpp:992
static bool isKeyEqual(const TaskSetRow &i_left, const TaskSetRow &i_right)
equal comparator by primary key: task id and set id.
Definition: dbMetaRow.cpp:986
task_txt table row and language code.
Definition: dbMetaRow.h:1942
string langCode
language code
Definition: dbMetaRow.h:1944
static bool uniqueLangKeyEqual(const TaskTxtLangRow &i_left, const TaskTxtLangRow &i_right)
equal comparator by unique key: task id, language code.
Definition: dbMetaRow.cpp:974
static bool uniqueLangKeyLess(const TaskTxtLangRow &i_left, const TaskTxtLangRow &i_right)
less comparator by unique key: task id, language code.
Definition: dbMetaRow.cpp:966
task_txt table row.
Definition: dbMetaRow.h:1904
static bool isKeyLess(const TaskTxtRow &i_left, const TaskTxtRow &i_right)
less comparator by primary key: task id and language id.
Definition: dbMetaRow.cpp:944
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1912
TaskTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1926
TaskTxtRow(int i_taskId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1918
static vector< TaskTxtRow >::const_iterator byKey(int i_taskId, int i_langId, const vector< TaskTxtRow > &i_rowVec)
find row by primary key: task id and language id.
Definition: dbMetaRow.cpp:956
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1909
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1915
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1906
static bool isKeyEqual(const TaskTxtRow &i_left, const TaskTxtRow &i_right)
equal comparator by primary key: task id and language id.
Definition: dbMetaRow.cpp:950
type_dic join to model_type_dic table row.
Definition: dbMetaRow.h:264
bool isString(void) const
return true if model type is string (varchar)
Definition: dbMetaRow.h:310
static bool isKeyLess(const TypeDicRow &i_left, const TypeDicRow &i_right)
less comparator by unique key: model id, model type id.
Definition: dbMetaRow.cpp:115
static bool isKeyEqual(const TypeDicRow &i_left, const TypeDicRow &i_right)
equal comparator by unique key: model id, model type id.
Definition: dbMetaRow.cpp:121
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:266
string digest
type_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:275
int totalEnumId
total_enum_id INT NOT NULL, – if total enabled this is enum_value of total item =max+1
Definition: dbMetaRow.h:281
bool isBuiltIn(void) const
return true if model type is built-in, ie: int, double, logical
Definition: dbMetaRow.h:325
bool isBigInt(void) const
return true if model type is bigint (64 bit)
Definition: dbMetaRow.h:313
TypeDicRow(int i_modelId, int i_typeId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:284
string name
type_name VARCHAR(255) NOT NULL, – type name: int, double, etc.
Definition: dbMetaRow.h:272
bool isInt(void) const
return true if model type is integer (not float, string, boolean or bigint)
Definition: dbMetaRow.h:316
bool isBool(void) const
return true if model type is boolean (logical)
Definition: dbMetaRow.h:307
bool isFloat(void) const
return true if model type is float (float, real, double or time)
Definition: dbMetaRow.h:319
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:269
static vector< TypeDicRow >::const_iterator byKey(int i_modelId, int i_typeId, const vector< TypeDicRow > &i_rowVec)
find row by unique key: model id and model type id.
Definition: dbMetaRow.cpp:127
TypeDicRow(void)
create row with default empty key values.
Definition: dbMetaRow.h:293
int dicId
dic_id INT NOT NULL, – dictionary id: 0=simple 1=logical 2=classification 3=range 4=partition 5=link
Definition: dbMetaRow.h:278
bool isTime(void) const
return true if model type is Time
Definition: dbMetaRow.h:322
type_dic_txt join to model_type_dic table row and language code.
Definition: dbMetaRow.h:369
string langCode
language code
Definition: dbMetaRow.h:371
static bool uniqueLangKeyEqual(const TypeDicTxtLangRow &i_left, const TypeDicTxtLangRow &i_right)
equal comparator by unique key: model id, model type id, language code.
Definition: dbMetaRow.cpp:162
static bool uniqueLangKeyLess(const TypeDicTxtLangRow &i_left, const TypeDicTxtLangRow &i_right)
less comparator by unique key: model id, model type id, language code.
Definition: dbMetaRow.cpp:153
type_dic_txt join to model_type_dic table row.
Definition: dbMetaRow.h:330
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:344
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:338
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:335
TypeDicTxtRow(int i_modelId, int i_typeId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:347
TypeDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:356
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:341
static bool isKeyLess(const TypeDicTxtRow &i_left, const TypeDicTxtRow &i_right)
less comparator by unique key: model id, model type id, language id.
Definition: dbMetaRow.cpp:138
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:332
static bool isKeyEqual(const TypeDicTxtRow &i_left, const TypeDicTxtRow &i_right)
equal comparator by unique key: model id, model type id, language id.
Definition: dbMetaRow.cpp:147
type_enum_lst join to model_type_dic table row.
Definition: dbMetaRow.h:382
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:387
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:384
TypeEnumLstRow(int i_modelId, int i_typeId, int i_enumId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:396
TypeEnumLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:404
static bool isKeyLess(const TypeEnumLstRow &i_left, const TypeEnumLstRow &i_right)
less comparator by unique key: model id, model type id, enum id.
Definition: dbMetaRow.cpp:169
static bool isKeyEqual(const TypeEnumLstRow &i_left, const TypeEnumLstRow &i_right)
equal comparator by unique key: model id, model type id, enum id.
Definition: dbMetaRow.cpp:178
string name
enum_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:393
int enumId
enum_id INT NOT NULL
Definition: dbMetaRow.h:390
type_enum_txt join to model_type_dic table row and language code.
Definition: dbMetaRow.h:460
static bool uniqueLangKeyEqual(const TypeEnumTxtLangRow &i_left, const TypeEnumTxtLangRow &i_right)
equal comparato by unique key: model id, model type id, enum id, language code.
Definition: dbMetaRow.cpp:211
string langCode
language code
Definition: dbMetaRow.h:462
static bool uniqueLangKeyLess(const TypeEnumTxtLangRow &i_left, const TypeEnumTxtLangRow &i_right)
less comparator by unique key: model id, model type id, enum id, language code.
Definition: dbMetaRow.cpp:201
type_enum_txt join to model_type_dic table row.
Definition: dbMetaRow.h:417
TypeEnumTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:447
int enumId
enum_id INT NOT NULL
Definition: dbMetaRow.h:425
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:431
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:434
static bool isKeyLess(const TypeEnumTxtRow &i_left, const TypeEnumTxtRow &i_right)
less comparator by unique key: model id, model type id, enum id, language id.
Definition: dbMetaRow.cpp:184
TypeEnumTxtRow(int i_modelId, int i_typeId, int i_enumId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:437
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:422
static bool isKeyEqual(const TypeEnumTxtRow &i_left, const TypeEnumTxtRow &i_right)
equal comparator by unique key: model id, model type id, enum id, language id.
Definition: dbMetaRow.cpp:194
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:428
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:419
workset_lst table row.
Definition: dbMetaRow.h:1674
WorksetLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1704
WorksetLstRow(int i_setId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1694
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1691
static vector< WorksetLstRow >::const_iterator byKey(int i_setId, const vector< WorksetLstRow > &i_rowVec)
find row by primary key: set id.
Definition: dbMetaRow.cpp:810
int baseRunId
base_run_id INT NULL
Definition: dbMetaRow.h:1679
static bool isKeyEqual(const WorksetLstRow &i_left, const WorksetLstRow &i_right)
equal comparator by primary key: set id.
Definition: dbMetaRow.cpp:804
static bool isKeyLess(const WorksetLstRow &i_left, const WorksetLstRow &i_right)
less comparator by primary key: set id.
Definition: dbMetaRow.cpp:798
bool isReadonly
is_readonly SMALLINT NOT NULL
Definition: dbMetaRow.h:1688
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1676
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1682
string name
set_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1685
workset_parameter join to model_parameter_dic table row.
Definition: dbMetaRow.h:1771
static bool isKeyEqual(const WorksetParamRow &i_left, const WorksetParamRow &i_right)
equal comparator by primary key: set id and parameter id.
Definition: dbMetaRow.cpp:862
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1776
WorksetParamRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1797
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1782
int defaultSubId
default_sub_id INT NOT NULL
Definition: dbMetaRow.h:1785
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1773
static bool isKeyLess(const WorksetParamRow &i_left, const WorksetParamRow &i_right)
less comparator by primary key: set id and parameter id.
Definition: dbMetaRow.cpp:856
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1779
WorksetParamRow(int i_setId, int i_paramId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1788
static vector< WorksetParamRow >::const_iterator byKey(int i_setId, int i_paramId, const vector< WorksetParamRow > &i_rowVec)
find row by primary key: set id and parameter id.
Definition: dbMetaRow.cpp:868
workset_parameter_txt table row and language code.
Definition: dbMetaRow.h:1857
string langCode
language code
Definition: dbMetaRow.h:1859
static bool uniqueLangKeyEqual(const WorksetParamTxtLangRow &i_left, const WorksetParamTxtLangRow &i_right)
equal comparator by unique key: set id, parameter id, language code.
Definition: dbMetaRow.cpp:916
static bool uniqueLangKeyLess(const WorksetParamTxtLangRow &i_left, const WorksetParamTxtLangRow &i_right)
less comparator by unique key: set id, parameter id, language code.
Definition: dbMetaRow.cpp:907
workset_parameter_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:1813
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1827
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1821
WorksetParamTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1839
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1815
static bool isKeyLess(const WorksetParamTxtRow &i_left, const WorksetParamTxtRow &i_right)
less comparator by primary key: set id, parameter id, language id.
Definition: dbMetaRow.cpp:878
static vector< WorksetParamTxtRow >::const_iterator byKey(int i_setId, int i_paramId, int i_langId, const vector< WorksetParamTxtRow > &i_rowVec)
find row by primary key: set id, parameter id, language id.
Definition: dbMetaRow.cpp:893
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1818
WorksetParamTxtRow(int i_setId, int i_langId, int i_paramId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1830
static bool isKeyEqual(const WorksetParamTxtRow &i_left, const WorksetParamTxtRow &i_right)
equal comparator by primary key: set id, parameter id, language id.
Definition: dbMetaRow.cpp:887
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1824
workset_txt table row and language code.
Definition: dbMetaRow.h:1758
string langCode
language code
Definition: dbMetaRow.h:1760
static bool uniqueLangKeyEqual(const WorksetTxtLangRow &i_left, const WorksetTxtLangRow &i_right)
equal comparator by unique key: set id, language code.
Definition: dbMetaRow.cpp:850
static bool uniqueLangKeyLess(const WorksetTxtLangRow &i_left, const WorksetTxtLangRow &i_right)
less comparator by unique key: set id, language code.
Definition: dbMetaRow.cpp:842
workset_txt table row.
Definition: dbMetaRow.h:1720
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1725
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1728
static bool isKeyEqual(const WorksetTxtRow &i_left, const WorksetTxtRow &i_right)
equal comparator by primary key: set id and language id.
Definition: dbMetaRow.cpp:826
static bool isKeyLess(const WorksetTxtRow &i_left, const WorksetTxtRow &i_right)
less comparator by primary key: set id and language id.
Definition: dbMetaRow.cpp:820
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1731
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1722
WorksetTxtRow(int i_setId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1734
static vector< WorksetTxtRow >::const_iterator byKey(int i_setId, int i_langId, const vector< WorksetTxtRow > &i_rowVec)
find row by primary key: set id and language id.
Definition: dbMetaRow.cpp:832
WorksetTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1742