Home
last modified time | relevance | path

Searched refs:dataKey (Results 1 - 18 of 18) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_data_transformer_test.cpp82 logInfo.dataKey = i; in GenerateTableDataWithLog()
89 if (origin.dataKey != target.dataKey) { in Equal()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_utils.cpp24 int CloudSyncUtils::GetCloudPkVals(const VBucket &datum, const std::vector<std::string> &pkColNames, int64_t dataKey, in GetCloudPkVals() argument
35 cloudPkVals.emplace_back(dataKey); in GetCloudPkVals()
184 cloudLogInfo.dataKey = 0; in GetCloudLogInfo()
203 ret = CloudSyncUtils::GetCloudPkVals(localInfo.primaryKeys, changedData.field, localInfo.logInfo.dataKey, in SaveChangedDataByType()
206 ret = CloudSyncUtils::GetCloudPkVals(datum, changedData.field, localInfo.logInfo.dataKey, cloudPkVals); in SaveChangedDataByType()
588 // use dataIndex as dataKey avoid get same pk with no pk schema in CalOpType()
H A Dcloud_sync_utils.h35 static int GetCloudPkVals(const VBucket &datum, const std::vector<std::string> &pkColNames, int64_t dataKey,
H A Dcloud_syncer.cpp790 param.downloadData.data[idx], param.pkColNames, dataInfo.localInfo.logInfo.dataKey, pkVals); in HandleTagAssets()
1779 param.downloadData.existDataKey[index] = logInfo.logInfo.dataKey; in GetLocalInfo()
H A Dcloud_syncer_extend.cpp464 logInfo.dataKey = DBConstant::DEFAULT_ROW_ID; in CommitDownloadAssets()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_executor.h319 int64_t dataKey);
390 int RemoveDataAndLog(const std::string &tableName, int64_t dataKey);
424 int64_t dataKey, OpType opType);
442 bool IsNeedUpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, const VBucket &vBucket);
447 int UpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, const VBucket &vBucket);
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp1043 int SQLiteSingleVerRelationalStorageExecutor::RemoveDataAndLog(const std::string &tableName, int64_t dataKey) in RemoveDataAndLog() argument
1047 std::to_string(dataKey); in RemoveDataAndLog()
1054 std::to_string(dataKey); in RemoveDataAndLog()
1493 const TableSchema &tableSchema, const VBucket &vBucket, int64_t dataKey, OpType opType) in OnlyUpdateAssetId()
1503 if (!IsNeedUpdateAssetId(tableSchema, dataKey, vBucket)) { in OnlyUpdateAssetId()
1506 int errCode = UpdateAssetId(tableSchema, dataKey, vBucket); in OnlyUpdateAssetId()
1623 int SQLiteSingleVerRelationalStorageExecutor::UpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, in UpdateAssetId() argument
1652 updateAssetIdSql += " WHERE " + std::string(DBConstant::SQLITE_INNER_ROWID) + " = " + std::to_string(dataKey) + ";"; in UpdateAssetId()
1731 if (logInfo.cloudGid.empty() && logInfo.dataKey == DBConstant::DEFAULT_ROW_ID) { in UpdateRecordFlag()
1492 OnlyUpdateAssetId(const std::string &tableName, const TableSchema &tableSchema, const VBucket &vBucket, int64_t dataKey, OpType opType) OnlyUpdateAssetId() argument
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp92 logInfo.dataKey = sqlite3_column_int64(statement, index++); in GetLogInfoByStatement()
644 const TrackerTable &trackerTable, int64_t dataKey) in InsertCloudData()
647 if (dataKey > 0) { in InsertCloudData()
648 errCode = RemoveDataAndLog(tableSchema.name, dataKey); in InsertCloudData()
1313 bool SQLiteSingleVerRelationalStorageExecutor::IsNeedUpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, in IsNeedUpdateAssetId() argument
1335 std::to_string(dataKey) + ";"; in IsNeedUpdateAssetId()
643 InsertCloudData(VBucket &vBucket, const TableSchema &tableSchema, const TrackerTable &trackerTable, int64_t dataKey) InsertCloudData() argument
H A Dsqlite_single_ver_relational_storage_executor.cpp543 logInfo.dataKey = sqlite3_column_int64(logStatement, 0); // 0 means dataKey index in GetLogData()
817 SQLiteUtils::BindInt64ToStatement(statement, 1, rowid); // 1 means dataKey index in SaveSyncLog()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Ddata_transformer.h31 int64_t dataKey = -1; member
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp134 LayerData* GetLayerDataPtr(DispatchKey dataKey) in GetLayerDataPtr() argument
137 auto it = g_layerDataMap.find(dataKey); in GetLayerDataPtr()
140 g_layerDataMap[dataKey] = layerData; in GetLayerDataPtr()
147 void FreeLayerDataPtr(DispatchKey dataKey) in FreeLayerDataPtr() argument
149 auto it = g_layerDataMap.find(dataKey); in FreeLayerDataPtr()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_storage_utils.cpp1129 bool isDeleted = logInfo.dataKey == DBConstant::DEFAULT_ROW_ID; in GetUpdateRecordFlagSql()
1150 sql += " data_key = '" + std::to_string(logInfo.dataKey) + "'"; in GetUpdateRecordFlagSql()
1165 bool isDeleted = logInfo.dataKey == DBConstant::DEFAULT_ROW_ID; in GetUpdateRecordFlagSqlUpload()
1188 sql += " data_key = '" + std::to_string(logInfo.dataKey) + "'"; in GetUpdateRecordFlagSqlUpload()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp762 std::string dataKey = prefix + "_p_data"; in HWTEST_F() local
766 result.insert({dataKey, value0}); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_sync_test.cpp759 virtualRowData.logInfo.dataKey = 3; // 3 fake datakey in operator ()()
979 virtualRowData.logInfo.dataKey = 4; // 4 fake datakey in operator ()()
H A Ddistributeddb_interfaces_relational_test.cpp1181 rowData.logInfo.dataKey = rowid; in operator ()()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1847 downloadData.existDataKey.push_back(dataInfoWithLog.logInfo.dataKey); in UpsertDataInTransaction()
1918 logInfo.dataKey = rowId; in UpdateRecordFlagAfterUpload()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_asset_compare_test.cpp1038 dataInfo.localInfo.logInfo.dataKey = 1; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.cpp358 dataInfoWithLog.logInfo.dataKey = sqlite3_column_int64(stmt, index++); in FillLogInfoWithStmt()

Completed in 49 milliseconds