Home
last modified time | relevance | path

Searched refs:fieldInfos (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dcloud_sync_log_table_manager.cpp27 FieldInfoMap fieldInfos = table.GetFields(); in CalcPrimaryKeyHash() local
37 if (fieldInfos.find(pkName) == fieldInfos.end()) { in CalcPrimaryKeyHash()
40 …std::string collateStr = std::to_string(static_cast<uint32_t>(fieldInfos.at(pkName).GetCollateType… in CalcPrimaryKeyHash()
50 if (fieldInfos.find(it) == fieldInfos.end()) { in CalcPrimaryKeyHash()
53 …std::string collateStr = std::to_string(static_cast<uint32_t>(fieldInfos.at(it).GetCollateType())); in CalcPrimaryKeyHash()
H A Dsqlite_single_ver_relational_storage_executor.h243 int GetCloudAssets(const std::string &tableName, const std::vector<FieldInfo> &fieldInfos,
397 int CleanAssetId(const std::string &tableName, const std::vector<FieldInfo> &fieldInfos,
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp465 std::vector<FieldInfo> fieldInfos = localSchema.GetTable(tableName).GetFieldInfos(); in DoCleanLogAndData() local
466 errCode = GetCloudAssets(tableName, fieldInfos, dataKeys, assets); in DoCleanLogAndData()
572 …const std::vector<FieldInfo> &fieldInfos, const std::vector<int64_t> &dataKeys, std::vector<Asset>… in GetCloudAssets() argument
575 for (const auto &fieldInfo: fieldInfos) { in GetCloudAssets()
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp1099 std::vector<FieldInfo> fieldInfos = localSchema.GetTable(tableName).GetFieldInfos(); in DoCleanAssetId() local
1100 errCode = CleanAssetId(tableName, fieldInfos, dataKeys); in DoCleanAssetId()
1108 const std::vector<FieldInfo> &fieldInfos, const std::vector<int64_t> &dataKeys) in CleanAssetId() argument
1111 for (const auto &fieldInfo : fieldInfos) { in CleanAssetId()
H A Dsqlite_single_ver_relational_storage_executor.cpp102 std::vector<FieldInfo> fieldInfos = table.GetFieldInfos(); in CheckTableConstraint() local
103 for (const auto &field : fieldInfos) { in CheckTableConstraint()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_schema_analysis_test.cpp193 std::vector<FieldInfo> fieldInfos = table.GetFieldInfos(); variable
194 EXPECT_EQ(fieldInfos.size(), 12u); // 12 is column count
196 for (const auto &field : fieldInfos) {
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_storage_utils.cpp750 …ic bool IsViolationOfConstraints(const std::string &name, const std::vector<FieldInfo> &fieldInfos) in IsViolationOfConstraints() argument
752 for (const auto &field : fieldInfos) { in IsViolationOfConstraints()
777 const std::vector<FieldInfo> &fieldInfos = table.GetFieldInfos(); in ConstraintsCheckForCloud() local
779 if (IsViolationOfConstraints(item.second, fieldInfos)) { in ConstraintsCheckForCloud()
1003 FieldInfoMap fieldInfos = localTable.GetFields(); in GetHashValueWithPrimaryKeyMap() local
1004 if (fieldInfos.find(pkMap.begin()->first) == fieldInfos.end()) { in GetHashValueWithPrimaryKeyMap()
1008 CollateType collateType = fieldInfos.at(pkMap.begin()->first).GetCollateType(); in GetHashValueWithPrimaryKeyMap()
1014 FieldInfoMap fieldInfos = localTable.GetFields(); in GetHashValueWithPrimaryKeyMap() local
1015 if (fieldInfos.find(item.first) == fieldInfos.end()) { in GetHashValueWithPrimaryKeyMap()
1020 CollateType collateType = fieldInfos.at(item.first).GetCollateType(); in GetHashValueWithPrimaryKeyMap()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp467 const auto fieldInfos = schema.GetTable(token->GetQuery().GetTableName()).GetFieldInfos(); in GetSyncDataNext() local
469 fieldNames.reserve(fieldInfos.size()); in GetSyncDataNext()
470 for (const auto &fieldInfo : fieldInfos) { // order by cid in GetSyncDataNext()