Home
last modified time | relevance | path

Searched refs:tables_ (Results 1 - 23 of 23) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_query.cpp30 return tables_; in GetTables()
53 ZLOGD("table size:%{public}zu, device size:%{public}zu, op size:%{public}zu", predicates.tables_.size(), in MakeQuery()
55 query_ = predicates.tables_.size() == 1 ? DistributedDB::Query::Select(*predicates.tables_.begin()) in MakeQuery()
57 if (predicates.tables_.size() > 1) { in MakeQuery()
58 query_.FromTable(predicates.tables_); in MakeQuery()
60 if (!predicates.tables_.empty()) { in MakeQuery()
61 predicates_ = std::make_shared<Predicates>(*predicates.tables_.begin()); in MakeQuery()
69 tables_ = predicates.tables_; in MakeQuery()
[all...]
H A Drdb_service_stub.cpp138 Anonymous::Change(param.storeName_).c_str(), predicates.tables_.size()); in OnRemoteDoSync()
159 predicates.tables_.empty() ? "null" : predicates.tables_.begin()->c_str()); in OnRemoteDoAsync()
H A Drdb_query.h111 std::vector<std::string> tables_; member in OHOS::DistributedRdb::RdbQuery
H A Drdb_service_impl.cpp519 if (!memo.tables_.empty()) {
540 if (!predicates.tables_.empty()) {
699 if (predicates.tables_.empty()) {
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_query_test.cpp63 EXPECT_EQ(predicates.tables_.size(), 0); in HWTEST_F()
64 EXPECT_TRUE(predicates.tables_.empty()); in HWTEST_F()
83 predicates.tables_.push_back("table1"); in HWTEST_F()
84 predicates.tables_.push_back("table2"); in HWTEST_F()
91 EXPECT_EQ(predicates.tables_.size(), 2); in HWTEST_F()
92 EXPECT_TRUE(!predicates.tables_.empty()); in HWTEST_F()
111 predicates.tables_.push_back("table1"); in HWTEST_F()
112 predicates.tables_.push_back("table2"); in HWTEST_F()
149 predicates.tables_.push_back("table1"); in HWTEST_F()
150 predicates.tables_ in HWTEST_F()
[all...]
H A Dcloud_data_test.cpp673 predicates.tables_.push_back(TEST_CLOUD_BUNDLE); in HWTEST_F()
1511 info.tables_.insert_or_assign(TEST_CLOUD_STORE, value); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/
H A Dgeneral_watcher_mock.cpp25 return tables_; in GetTables()
H A Dgeneral_watcher_mock.h26 std::vector<std::string> tables_; member in OHOS::DistributedData::MockQuery
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dsync_manager.cpp52 tables_[store] = tables; in SyncInfo()
61 tables_[store] = {}; in SyncInfo()
67 : user_(user), bundleName_(bundleName), tables_(tables) in SyncInfo()
69 tables_ = tables; in SyncInfo()
77 tables_[param.store] = param.tables; in SyncInfo()
131 explicit SyncQuery(const std::vector<std::string> &tables) : tables_(tables) {} in GenerateQuery()
140 return tables_; in GenerateQuery()
144 std::vector<std::string> tables_; in GenerateQuery() member in OHOS::CloudData::final
146 auto it = tables_.find(store); in GenerateQuery()
147 return std::make_shared<SyncQuery>(it == tables_ in GenerateQuery()
[all...]
H A Dsync_manager.h85 std::map<std::string, std::vector<std::string>> tables_; member in OHOS::CloudData::SyncManager::final
H A Dcloud_service_impl.cpp1151 if (predicates.tables_.empty()) { in AllocResourceAndShare()
1152 ZLOGE("invalid args, tables size:%{public}zu, storeId:%{public}s", predicates.tables_.size(), in AllocResourceAndShare()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Drelational_schema_object.cpp84 for (auto it = tables_.begin(); it != tables_.end(); it++) { in GenerateSchemaString()
85 if (it != tables_.begin()) { in GenerateSchemaString()
97 tables_[table.GetTableName()] = table;
109 tables_.erase(tableName);
115 return tables_;
121 for (const auto &it : tables_) {
129 auto it = tables_.find(tableName);
130 if (it != tables_.end()) {
673 tables_[resultTabl
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dquery_expression.cpp33 if (!tables_.empty()) { in AssemblyQueryInfo()
361 return tables_; in GetTables()
375 tables_ = syncTable; in SetTables()
395 } else if (!tables_.empty()) { in From()
424 if (!tables_.empty()) { in SetNotSupportIfFromTables()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_task_merge_test.cpp116 std::vector<std::string> tables_ = { tableNameA_, tableNameB_, tableNameC_, tableNameD_ }; member in __anon8254::DistributedDBCloudTaskMergeTest
144 for (const auto &table : tables_) { in SetUp()
185 for (const auto &table : tables_) { in GetSchema()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_object.h88 std::vector<std::string> tables_; member in DistributedDB::QueryObject
H A Dquery_sync_object.cpp398 return tables_; in GetRelationTableNames()
H A Dquery_object.cpp87 tables_ = queryExpressions.GetTables(); in QueryObject()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_types_util.cpp60 return ITypesUtil::Marshal(data, input.tables_, input.devices_, input.operations_); in Marshalling()
65 return ITypesUtil::Unmarshal(data, output.tables_, output.devices_, output.operations_); in Unmarshalling()
H A Dabs_rdb_predicates.cpp34 predicates_.tables_.push_back(tableName_); in AbsRdbPredicates()
45 predicates_.tables_ = std::move(tables); in AbsRdbPredicates()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/
H A Drelational_schema_object.h117 TableInfoMap tables_; member in DistributedDB::RelationalSchemaObject
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/include/
H A Dquery_expression.h178 std::vector<std::string> tables_; member in DistributedDB::final
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_types.h208 std::vector<std::string> tables_; member
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_predicates_test.cpp1786 EXPECT_EQ(*(distributedRdbPredicates.tables_.begin()), "AllDataType"); in HWTEST_F()

Completed in 21 milliseconds