/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/ |
H A D | sync_event.h | 26 …API_EXPORT EventInfo(int32_t mode, int32_t wait, bool retry, std::shared_ptr<GenQuery> query, GenA… 27 …API_EXPORT EventInfo(const SyncParam &syncParam, bool retry, std::shared_ptr<GenQuery> query, GenA… 37 std::shared_ptr<GenQuery> query_; 49 std::shared_ptr<GenQuery> GetQuery() const;
|
H A D | cloud_share_event.h | 26 CloudShareEvent(StoreInfo storeInfo, std::shared_ptr<GenQuery> query, Callback callback); 28 std::shared_ptr<GenQuery> GetQuery() const; 32 std::shared_ptr<GenQuery> query_;
|
H A D | cloud_db.h | 45 virtual std::shared_ptr<Cursor> Query(GenQuery &query, const VBucket &extend); 49 …virtual int32_t Sync(const Devices &devices, int32_t mode, const GenQuery &query, Async async, int…
|
H A D | make_query_event.h | 29 using Callback = std::function<void(std::shared_ptr<GenQuery>)>;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | cloud_share_event.cpp | 19 CloudShareEvent::CloudShareEvent(StoreInfo storeInfo, std::shared_ptr<GenQuery> query, Callback cal… in CloudShareEvent() 23 std::shared_ptr<GenQuery> CloudShareEvent::GetQuery() const in GetQuery()
|
H A D | sync_event.cpp | 19 SyncEvent::EventInfo::EventInfo(int32_t mode, int32_t wait, bool retry, std::shared_ptr<GenQuery> q… in EventInfo() 24 SyncEvent::EventInfo::EventInfo(const SyncParam &syncParam, bool retry, std::shared_ptr<GenQuery> q… in EventInfo() 78 std::shared_ptr<GenQuery> SyncEvent::GetQuery() const in GetQuery()
|
H A D | cloud_db.cpp | 48 std::shared_ptr<Cursor> CloudDB::Query(GenQuery& query, const VBucket& extend) in Query() 58 int32_t CloudDB::Sync(const Devices &devices, int32_t mode, const GenQuery &query, Async async, int… in Sync()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | sync_manager.h | 37 using GenQuery = DistributedData::GenQuery; variable 68 void SetQuery(std::shared_ptr<GenQuery> query); 73 std::shared_ptr<GenQuery> GenerateQuery(const std::string &store, const Tables &tables); 87 std::shared_ptr<GenQuery> query_;
|
H A D | sync_manager.cpp | 98 void SyncManager::SyncInfo::SetQuery(std::shared_ptr<GenQuery> query) in SetQuery() 124 std::shared_ptr<GenQuery> SyncManager::SyncInfo::GenerateQuery(const std::string &store, const Tabl… in GenerateQuery() 129 class SyncQuery final : public GenQuery { in GenerateQuery()
|
H A D | cloud_service_impl.h | 154 DistributedData::GenQuery& query);
|
H A D | cloud_service_impl.cpp | 985 const StoreInfo& storeInfo, GenQuery& query) in PreShare() 1141 std::shared_ptr<GenQuery> query; in AllocResourceAndShare() 1142 MakeQueryEvent::Callback asyncCallback = [&query](std::shared_ptr<GenQuery> genQuery) { in AllocResourceAndShare()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/ |
H A D | general_store_mock.h | 39 …std::pair<int32_t, std::shared_ptr<Cursor>> Query(const std::string &table, GenQuery &query) overr… 40 std::pair<int32_t, int32_t> Sync(const Devices &devices, GenQuery &query, DetailAsync async, 42 std::pair<int32_t, std::shared_ptr<Cursor>> PreSharing(GenQuery &query) override;
|
H A D | general_store_mock.cpp | 67 …nt32_t, std::shared_ptr<Cursor>> GeneralStoreMock::Query(const std::string &table, GenQuery &query) in Query() 72 std::pair<int32_t, int32_t> GeneralStoreMock::Sync(const Devices &devices, GenQuery &query, DetailA… in Sync() 78 std::pair<int32_t, std::shared_ptr<Cursor>> GeneralStoreMock::PreSharing(GenQuery &query) in PreSharing()
|
H A D | general_watcher_mock.h | 22 class MockQuery : public GenQuery {
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_general_store.h | 36 using GenQuery = DistributedData::GenQuery; variable 73 …std::pair<int32_t, std::shared_ptr<Cursor>> Query(const std::string &table, GenQuery &query) overr… 74 std::pair<int32_t, int32_t> Sync(const Devices &devices, GenQuery &query, DetailAsync async, 76 std::pair<int32_t, std::shared_ptr<Cursor>> PreSharing(GenQuery &query) override;
|
H A D | rdb_query.h | 23 class RdbQuery : public DistributedData::GenQuery {
|
H A D | rdb_general_store.cpp | 466 …int32_t, std::shared_ptr<Cursor>> RdbGeneralStore::Query(const std::string &table, GenQuery &query) in Query() 517 std::pair<int32_t, int32_t> RdbGeneralStore::Sync(const Devices &devices, GenQuery &query, DetailAs… in Sync() 567 std::pair<int32_t, std::shared_ptr<Cursor>> RdbGeneralStore::PreSharing(GenQuery &query) in PreSharing()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | general_store.h | 151 …virtual std::pair<int32_t, std::shared_ptr<Cursor>> Query(const std::string &table, GenQuery &quer… 153 virtual std::pair<int32_t, int32_t> Sync(const Devices &devices, GenQuery &query, 156 virtual std::pair<int32_t, std::shared_ptr<Cursor>> PreSharing(GenQuery &query) = 0;
|
H A D | general_value.h | 149 struct GenQuery { struct 150 virtual ~GenQuery() = default;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_general_store.h | 62 …std::pair<int32_t, std::shared_ptr<Cursor>> Query(const std::string &table, GenQuery &query) overr… 63 std::pair<int32_t, int32_t> Sync(const Devices &devices, GenQuery &query, DetailAsync async, 65 std::pair<int32_t, std::shared_ptr<Cursor>> PreSharing(GenQuery &query) override;
|
H A D | kvdb_query.h | 25 class KVDBQuery : public DistributedData::GenQuery {
|
H A D | kvdb_general_store.cpp | 325 …nt32_t, std::shared_ptr<Cursor>> KVDBGeneralStore::Query(const std::string &table, GenQuery &query) in Query() 378 std::pair<int32_t, int32_t> KVDBGeneralStore::Sync(const Devices &devices, GenQuery &query, DetailA… in Sync() 478 std::pair<int32_t, std::shared_ptr<Cursor>> KVDBGeneralStore::PreSharing(GenQuery &query) in PreSharing()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_test.cpp | 60 std::shared_ptr<GenQuery> query = nullptr;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | cloud_test.cpp | 89 class MockQuery : public GenQuery {
|