Home
last modified time | relevance | path

Searched refs:GenQuery (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dsync_event.h26 …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 Dcloud_share_event.h26 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 Dcloud_db.h45 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 Dmake_query_event.h29 using Callback = std::function<void(std::shared_ptr<GenQuery>)>;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_share_event.cpp19 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 Dsync_event.cpp19 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 Dcloud_db.cpp48 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 Dsync_manager.h37 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 Dsync_manager.cpp98 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 Dcloud_service_impl.h154 DistributedData::GenQuery& query);
H A Dcloud_service_impl.cpp985 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 Dgeneral_store_mock.h39 …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 Dgeneral_store_mock.cpp67 …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 Dgeneral_watcher_mock.h22 class MockQuery : public GenQuery {
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_general_store.h36 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 Drdb_query.h23 class RdbQuery : public DistributedData::GenQuery {
H A Drdb_general_store.cpp466 …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 Dgeneral_store.h151 …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 Dgeneral_value.h149 struct GenQuery { struct
150 virtual ~GenQuery() = default;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_general_store.h62 …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 Dkvdb_query.h25 class KVDBQuery : public DistributedData::GenQuery {
H A Dkvdb_general_store.cpp325 …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 Dcloud_test.cpp60 std::shared_ptr<GenQuery> query = nullptr;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dcloud_test.cpp89 class MockQuery : public GenQuery {