Home
last modified time | relevance | path

Searched refs:TableSyncType (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_cloud_schema_mgr_test.cpp282 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
307 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
337 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
364 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
392 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
420 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
447 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
471 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
559 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
586 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION);
[all …]
H A Ddistributeddb_relational_cloud_syncable_storage_test.cpp94 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION); in CreateLogTable()
98 …LogTableManagerFactory::GetTableManager(DistributedTableMode::COLLABORATION, TableSyncType::CLOUD_… in CreateLogTable()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.h39 TableSyncType syncType, bool trackerSchemaChanged);
74 …int UpgradeDistributedTable(const std::string &tableName, bool &schemaChanged, TableSyncType syncT…
80 RelationalSchemaObject &schema, TableSyncType tableSyncType);
83 const std::string &sharedTableName, TableSyncType syncType, RelationalSchemaObject &schema);
H A Dsqlite_single_relational_storage_engine.cpp180 TableSyncType syncType) in SaveSyncTableTypeAndDropFlagToMeta()
240 const std::string &tableName, const std::string &sharedTableName, TableSyncType tableSyncType, in CreateDistributedSharedTable()
265 const std::string &identity, RelationalSchemaObject &schema, TableSyncType tableSyncType) in CreateDistributedTable()
288 if (!table.GetTrackerTable().IsEmpty() && tableSyncType == TableSyncType::DEVICE_COOPERATION) { in CreateDistributedTable()
311 TableSyncType tableSyncType = table.GetTableSyncType(); in CreateDistributedTable()
337 TableSyncType syncType) in UpgradeDistributedTable()
509 if (tableInfo.GetTableSyncType() == TableSyncType::DEVICE_COOPERATION) { in CheckAndCacheTrackerSchema()
671 if (table.second.GetTableSyncType() == TableSyncType::DEVICE_COOPERATION) { in SetReference()
675 errCode = handle->RenewTableTrigger(mode, tableInfo, TableSyncType::CLOUD_COOPERATION); in SetReference()
824 TableSyncType::CLOUD_COOPERATION, localSchema); in DoUpdateSharedTable()
[all …]
H A Dlog_table_manager_factory.h27 …ique_ptr<SqliteLogTableManager> GetTableManager(DistributedTableMode mode, TableSyncType syncType);
H A Dlog_table_manager_factory.cpp23 TableSyncType syncType) in GetTableManager()
H A Dsqlite_relational_store_connection.h40 int CreateDistributedTable(const std::string &tableName, TableSyncType syncType) override;
H A Dsqlite_single_ver_relational_storage_executor.h62 TableInfo &table, TableSyncType syncType);
65 RelationalSchemaObject &schema, TableSyncType syncType);
172 …int RenewTableTrigger(DistributedTableMode mode, const TableInfo &tableInfo, TableSyncType syncTyp…
H A Dsqlite_relational_store.h65 …int CreateDistributedTable(const std::string &tableName, TableSyncType syncType, bool trackerSchem…
H A Dsqlite_relational_store_connection.cpp144 …tionalStoreConnection::CreateDistributedTable(const std::string &tableName, TableSyncType syncType) in CreateDistributedTable()
H A Dsqlite_single_ver_relational_storage_executor.cpp95 int CheckTableConstraint(const TableInfo &table, DistributedTableMode mode, TableSyncType syncType) in CheckTableConstraint()
184 if (tableInfo.GetTableSyncType() == TableSyncType::DEVICE_COOPERATION) { in GeneLogInfoForExistedData()
212 const std::string &identity, TableInfo &table, TableSyncType syncType) in CreateDistributedTable()
297 …DistributedTableMode mode, bool &schemaChanged, RelationalSchemaObject &schema, TableSyncType sync… in UpgradeDistributedTable()
H A Dsqlite_relational_store.cpp443 int SQLiteRelationalStore::CreateDistributedTable(const std::string &tableName, TableSyncType syncT… in CreateDistributedTable()
940 if (table.second.GetTableSyncType() == TableSyncType::CLOUD_COOPERATION) { in GetAllDistributedTableName()
1495 …if (table.GetTableName().empty() || (table.GetTableSyncType() != TableSyncType::CLOUD_COOPERATION)… in ChkTable()
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp333 table.SetTableSyncType(TableSyncType::CLOUD_COOPERATION); in CreateTrackerTable()
478 if (tableInfo.GetTableSyncType() == TableSyncType::DEVICE_COOPERATION) { in UpgradedLogForExistedData()
1083 const TableInfo &tableInfo, TableSyncType syncType) in RenewTableTrigger()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_log_test.cpp62 TableSyncType tableSyncType = TableSyncType::DEVICE_COOPERATION;
H A Ddistributeddb_interfaces_relational_test.cpp184 void NoramlCreateDistributedTableTest(TableSyncType tableSyncType) in NoramlCreateDistributedTableTest()
349 void CreateDistributedTableOverLimitTest(TableSyncType tableSyncTpe) in CreateDistributedTableOverLimitTest()
415 void CreateDistributedTableInvalidArgsTest(TableSyncType tableSyncType) in CreateDistributedTableInvalidArgsTest()
443 static_cast<TableSyncType>(DistributedDB::DEVICE_COOPERATION - 1)), INVALID_ARGS); in CreateDistributedTableInvalidArgsTest()
445 static_cast<TableSyncType>(DistributedDB::CLOUD_COOPERATION + 1)), INVALID_ARGS); in CreateDistributedTableInvalidArgsTest()
492 void CreateDistributedTableNonPrimaryKeyTest(TableSyncType tableSyncType) in CreateDistributedTableNonPrimaryKeyTest()
563 void CreateDistributedTableInvalidFieldTest(TableSyncType tableSyncType) in CreateDistributedTableInvalidFieldTest()
605 void CreateDistributedTableCompositePKTest(TableSyncType tableSyncType, int expectCode) in CreateDistributedTableCompositePKTest()
647 void CreateDistributedTableWithHistoryDataTest(TableSyncType tableSyncType) in CreateDistributedTableWithHistoryDataTest()
823 void UpgradeDistributedTableTest(TableSyncType tableSyncType) in UpgradeDistributedTableTest()
[all …]
H A Ddistributeddb_cloud_interfaces_relational_ext_test.cpp203 …DistributedDB::TableSyncType tableSyncType, bool userDefineRowid = true, bool createDistributeTabl… in PrepareData()
244 void InsertTriggerTest(DistributedDB::TableSyncType tableSyncType) in InsertTriggerTest()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/
H A Dtable_info.h81 TableSyncType GetTableSyncType() const;
92 void SetTableSyncType(TableSyncType tableSyncType);
147 TableSyncType tableSyncType_ = DEVICE_COOPERATION;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/relational/
H A Drelational_store_delegate.h45 …DB_API DBStatus CreateDistributedTable(const std::string &tableName, TableSyncType type = DEVICE_C…
117 …virtual DBStatus CreateDistributedTableInner(const std::string &tableName, TableSyncType type) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_delegate_impl.h39 DBStatus CreateDistributedTableInner(const std::string &tableName, TableSyncType type) override;
H A Drelational_store_delegate_impl.cpp79 …nalStoreDelegateImpl::CreateDistributedTableInner(const std::string &tableName, TableSyncType type) in CreateDistributedTableInner()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Drelational_store_connection.h55 virtual int CreateDistributedTable(const std::string &tableName, TableSyncType syncType) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/
H A Dcloud_store_types.h29 enum TableSyncType { enum
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dschema_mgr.cpp42 if (tableInfo.GetTableSyncType() != TableSyncType::CLOUD_COOPERATION) { in ChkSchema()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp257 void TableInfo::SetTableSyncType(TableSyncType tableSyncType) in SetTableSyncType()
262 TableSyncType TableInfo::GetTableSyncType() const in GetTableSyncType()
H A Drelational_schema_object.cpp980 resultTable.SetTableSyncType(static_cast<TableSyncType>(fieldValue.integerValue)); in ParseCheckTableSyncType()

12