Home
last modified time | relevance | path

Searched refs:RelationalStoreManager (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/relational/
H A Drelational_store_manager.h27 class RelationalStoreManager final {
37 …DB_API RelationalStoreManager(const std::string &appId, const std::string &userId, int32_t instanc…
38 …DB_API RelationalStoreManager(const std::string &appId, const std::string &userId, const std::stri…
40 DB_API ~RelationalStoreManager() = default;
42 RelationalStoreManager(const RelationalStoreManager &) = delete;
43 RelationalStoreManager(RelationalStoreManager &&) = delete;
44 RelationalStoreManager &operator=(const RelationalStoreManager &) = delete;
45 RelationalStoreManager &operator=(RelationalStoreManager &&) = delete;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_manager.cpp43 RelationalStoreManager::RelationalStoreManager(const std::string &appId, const std::string &userId,… in RelationalStoreManager() function in DistributedDB::RelationalStoreManager
49 RelationalStoreManager::RelationalStoreManager(const std::string &appId, const std::string &userId, in RelationalStoreManager() function in DistributedDB::RelationalStoreManager
73 bool RelationalStoreManager::PreCheckOpenStore(const std::string &path, const std::string &storeId, in PreCheckOpenStore()
92 DB_API DBStatus RelationalStoreManager::OpenStore(const std::string &path, const std::string &store… in OpenStore()
134 DBStatus RelationalStoreManager::CloseStore(RelationalStoreDelegate *store) in CloseStore()
152 std::string RelationalStoreManager::GetDistributedTableName(const std::string &device, const std::s… in GetDistributedTableName()
160 DB_API std::string RelationalStoreManager::GetDistributedLogTableName(const std::string &tableName) in GetDistributedLogTableName()
182 DB_API std::vector<uint8_t> RelationalStoreManager::CalcPrimaryKeyHash(const std::map<std::string, … in CalcPrimaryKeyHash()
232 void RelationalStoreManager::SetAutoLaunchRequestCallback(const AutoLaunchRequestCallback &callback) in SetAutoLaunchRequestCallback()
237 std::string RelationalStoreManager::GetRelationalStoreIdentifier(const std::string &userId, const s… in GetRelationalStoreIdentifier()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp136 RelationalStoreManager &mgr, sqlite3 *&db) in OpenDelegate()
180 …void CloseDelegate(RelationalStoreDelegate *&delegatePtr, RelationalStoreManager &mgr, sqlite3 *&d… in CloseDelegate()
441 RelationalStoreManager mgr1(APP_ID, USER_ID, subUser1, INSTANCE_ID_1);
448 RelationalStoreManager mgr2(APP_ID, USER_ID, subUser2, INSTANCE_ID_1);
455 RelationalStoreManager mgr3(APP_ID, USER_ID, subUser3, INSTANCE_ID_1);
512 RelationalStoreManager mgr1(APP_ID, USER_ID, SUB_USER_1, INSTANCE_ID_1);
518 RelationalStoreManager mgr2(APP_ID, USER_ID, SUB_USER_2, INSTANCE_ID_1);
554 RelationalStoreManager mgr1(APP_ID, USER_ID, SUB_USER_1, INSTANCE_ID_1);
661 RelationalStoreManager mgr1(APP_ID, USER_ID, SUB_USER_1, INSTANCE_ID_1);
668 RelationalStoreManager mgr2(APP_ID, USER_ID, SUB_USER_2, INSTANCE_ID_1);
H A Ddistributeddb_single_ver_dlp_test.cpp74 RelationalStoreManager &mgr) in OpenDelegate()
100 void CloseDelegate(RelationalStoreDelegate *&delegatePtr, RelationalStoreManager &mgr) in CloseDelegate()
216 RelationalStoreManager mgr1(APP_ID, USER_ID, INSTANCE_ID_1);
221 RelationalStoreManager mgr2(APP_ID, USER_ID, INSTANCE_ID_2);
H A Ddistributeddb_relational_multi_user_test.cpp45 RelationalStoreManager g_mgr1(APP_ID, USER_ID_1);
46 RelationalStoreManager g_mgr2(APP_ID, USER_ID_2);
384 … std::string dis_tableName = RelationalStoreManager::GetDistributedTableName(DEVICE_B, table); in PrepareSelect()
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp62 RelationalStoreManager g_mgr(APP_ID, USER_ID);
1697 …std::shared_ptr<RelationalStoreManager> mgr = std::make_shared<RelationalStoreManager>(APP_ID, USE…
1725 mgr = std::make_shared<RelationalStoreManager>(APP_ID, USER_ID);
2879 RelationalStoreManager::SetAutoLaunchRequestCallback(callback);
2905 …const string &id = RelationalStoreManager::GetRelationalStoreIdentifier(USER_ID, APP_ID, STORE_ID_…
2910 RelationalStoreManager::SetAutoLaunchRequestCallback(callback);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/relationalstoremanager_fuzzer/
H A Drelationalstoremanager_fuzzer.cpp36 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
129 RelationalStoreManager::GetDistributedTableName(appId, userId); in CombineTest()
130 RelationalStoreManager mgr(appId, userId, instanceId); in CombineTest()
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Drelational_store_client.h31 class RelationalStoreManager {
H A Dmock.cpp112 __attribute__((visibility("default"))) std::string DistributedDB::RelationalStoreManager::GetDistri… in GetDistributedLogTableName()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_routines_test.cpp37 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
H A Ddistributeddb_interfaces_relational_observer_test.cpp37 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
H A Ddistributeddb_interfaces_relational_test.cpp44 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
1330 …std::string deviceTable = RelationalStoreManager::GetDistributedTableName(DEVICE_B + "_" + APP_ID,… in TestRemoveDeviceDataWithCallback()
1694 … std::string devTableName = RelationalStoreManager::GetDistributedTableName(deviceName, tableName);
1700 devTableName = RelationalStoreManager::GetDistributedTableName(deviceName, tableName);
1702 devTableName = RelationalStoreManager::GetDistributedTableName("", tableName);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_task_merge_test.cpp111 std::shared_ptr<RelationalStoreManager> mgr_ = nullptr;
140 mgr_ = std::make_shared<RelationalStoreManager>(APP_ID, USER_ID); in SetUp()
H A Ddistributeddb_cloud_assets_operation_sync_test.cpp115 std::shared_ptr<RelationalStoreManager> mgr_ = nullptr;
143 mgr_ = std::make_shared<RelationalStoreManager>(APP_ID, USER_ID); in SetUp()
969 …std::shared_ptr<RelationalStoreManager> mgr1 = std::make_shared<RelationalStoreManager>(APP_ID, US…
H A Ddistributeddb_cloud_check_sync_test.cpp198 std::shared_ptr<RelationalStoreManager> mgr_ = nullptr;
227 mgr_ = std::make_shared<RelationalStoreManager>(APP_ID, USER_ID); in SetUp()
1071 auto queryNodes = RelationalStoreManager::ParserQueryNodes(bytes, status); in __anonc8f560be1302()
1495 auto queryNodes = RelationalStoreManager::ParserQueryNodes(bytes, status); in __anonc8f560be1c02()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/relationalstoredelegate_fuzzer/
H A Drelationalstoredelegate_fuzzer.cpp41 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/cloudsync_fuzzer/
H A Dcloudsync_fuzzer.cpp252 mgr_ = std::make_shared<RelationalStoreManager>("APP_ID", "USER_ID"); in SetUp()
540 std::shared_ptr<RelationalStoreManager> mgr_;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_cloud_syncable_storage_test.cpp67 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
1254 … std::vector<uint8_t> result = RelationalStoreManager::CalcPrimaryKeyHash(primaryKey, collateType);
1256 std::string logTableName = RelationalStoreManager::GetDistributedLogTableName(tableName);
1310 … std::vector<uint8_t> result = RelationalStoreManager::CalcPrimaryKeyHash(primaryKey, collateType);
1312 std::string logTableName = RelationalStoreManager::GetDistributedLogTableName(tableName);
H A Ddistributeddb_query_object_helper_test.cpp299 auto nodeList = RelationalStoreManager::ParserQueryNodes(bytes, status);
H A Ddistributeddb_relational_encrypted_db_test.cpp56 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_impl.cpp61 using DistributedDB::RelationalStoreManager;
96 DistributedDB::RelationalStoreManager::SetAutoLaunchRequestCallback( in RdbServiceImpl()
161 auto aIdentifier = DistributedDB::RelationalStoreManager::GetRelationalStoreIdentifier( in ResolveAutoLaunch()
234 return DistributedDB::RelationalStoreManager::GetDistributedTableName(uuid, table); in ObtainDistributedTableName()
H A Drdb_general_store.h96 using RdbManager = DistributedDB::RelationalStoreManager;
H A Drdb_cloud.cpp224 nodes = DistributedDB::RelationalStoreManager::ParserQueryNodes(*bytes, status); in ConvertQuery()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/storage_fuzzer/
H A Dstorage_fuzzer.cpp49 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID);
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_impl_test.cpp575 DistributedDB::RelationalStoreManager rStoreManager("test_app", "test_user_id", 0);
620 DistributedDB::RelationalStoreManager rStoreManager("test_app", "test_user_id", 0);

12