Searched refs:pkMap (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | cloud_storage_utils.cpp | 329 std::map<std::string, Field> pkMap; in GetCloudPrimaryKeyFieldMap() local 333 pkMap[DBCommon::ToUpperCase(field.colName)] = field; in GetCloudPrimaryKeyFieldMap() 335 pkMap[field.colName] = field; in GetCloudPrimaryKeyFieldMap() 339 return pkMap; in GetCloudPrimaryKeyFieldMap() 993 …t TableSchema &tableSchema, const TableInfo &localTable, const std::map<std::string, Field> &pkMap, in GetHashValueWithPrimaryKeyMap() argument 998 if (pkMap.size() == 0) { in GetHashValueWithPrimaryKeyMap() 1001 } else if (pkMap.size() == 1) { in GetHashValueWithPrimaryKeyMap() 1004 if (fieldInfos.find(pkMap.begin()->first) == fieldInfos.end()) { in GetHashValueWithPrimaryKeyMap() 1008 CollateType collateType = fieldInfos.at(pkMap.begin()->first).GetCollateType(); in GetHashValueWithPrimaryKeyMap() 1013 for (const auto &item: pkMap) { in GetHashValueWithPrimaryKeyMap()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_executor_extend.cpp | 69 … std::map<std::string, Field> pkMap = CloudStorageUtils::GetCloudPrimaryKeyFieldMap(tableSchema); in GetInfoByPrimaryKeyOrGid() local 70 … errCode = GetInfoByStatement(selectStmt, assetFields, pkMap, dataInfoWithLog, assetInfo); in GetInfoByPrimaryKeyOrGid() 111 …const std::vector<Field> &assetFields, const std::map<std::string, Field> &pkMap, DataInfoWithLog … in GetInfoByStatement() argument 133 for (const auto &item : pkMap) { in GetInfoByStatement() 174 …std::map<std::string, Field> pkMap = CloudStorageUtils::GetCloudPrimaryKeyFieldMap(tableSchema, tr… in GetPrimaryKeyHashValue() local 175 if (pkMap.size() == 0) { in GetPrimaryKeyHashValue() 182 tableSchema, localTable, pkMap, allowEmpty); in GetPrimaryKeyHashValue() 1039 std::map<std::string, Field> pkMap = CloudStorageUtils::GetCloudPrimaryKeyFieldMap(tableSchema); in BindValueToUpdateLogStatement() local 1040 if (pkMap.empty()) { in BindValueToUpdateLogStatement()
|
H A D | sqlite_single_ver_relational_storage_executor.h | 316 … const std::map<std::string, Field> &pkMap, DataInfoWithLog &dataInfoWithLog, VBucket &assetInfo);
|
H A D | sqlite_single_ver_relational_storage_extend_executor.cpp | 728 std::map<std::string, Field> pkMap = CloudStorageUtils::GetCloudPrimaryKeyFieldMap(tableSchema); in AppendUpdateLogRecordWhereSqlCondition() local 729 if (!pkMap.empty()) { in AppendUpdateLogRecordWhereSqlCondition()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/cloud/ |
H A D | cloud_storage_utils.h | 116 …t TableSchema &tableSchema, const TableInfo &localTable, const std::map<std::string, Field> &pkMap,
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1812 …std::map<std::string, Field> pkMap = CloudStorageUtils::GetCloudPrimaryKeyFieldMap(tableSchema, tr… in UpsertDataInTransaction() local 1819 tableSchema, localTable, pkMap, false); in UpsertDataInTransaction()
|