Home
last modified time | relevance | path

Searched refs:docStore (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/hiview/adapter/dbstore/
Dstore_manager.cpp50 std::shared_ptr<DocStore> docStore = std::make_shared<DocStore>(); in GetDocStore() local
51 docStore->dbPtr = std::make_shared<DocDB>(); in GetDocStore()
52 int retCode = docStore->dbPtr->OpenDB(option.db, GetEjdbFlag(option)); in GetDocStore()
58 stores_[option.db] = docStore; in GetDocStore()
59 return docStore; in GetDocStore()
71 std::shared_ptr<DocStore> docStore = it->second; in OnlineBackupDocStore() local
72 if (docStore->dbPtr == nullptr) { in OnlineBackupDocStore()
77 int retCode = docStore->dbPtr->OnlineBackupDB(bakFile); in OnlineBackupDocStore()
93 std::shared_ptr<DocStore> docStore = it->second; in InnerCloseDocStore() local
94 if (docStore->dbPtr == nullptr) { in InnerCloseDocStore()
[all …]
/base/hiviewdfx/hiview/base/event_store/
Dsys_event_dao.cpp60 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in Insert() local
61 if (docStore->Put(entry) != 0) { in Insert()
81 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in Update() local
82 if (docStore->Merge(entry) != 0) { in Update()
111 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in Delete() local
112 if (delNum = docStore->Delete(dataQuery); delNum < 0) { in Delete()
128 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in GetNum() local
129 if (result = docStore->GetNum(); result < 0) { in GetNum()
Dsys_event_query.cpp828 std::shared_ptr<DocStore> docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile_); in ExecuteSQL() local
829 int retCode = docStore->GetEntriesWithQuery(dataQuery, entries); in ExecuteSQL()
854 std::shared_ptr<DocStore> docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile_); in ExecuteWithCallback() local
861 docStore->GetEntryDuringQuery(dataQuery, c); in ExecuteWithCallback()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Devent_db_helper.cpp122 auto docStore = GetDocStore(); in InsertDb() local
126 if (docStore->Put(entry, coll.c_str()) != 0) { in InsertDb()