Searched refs:docStore (Results 1 – 4 of 4) sorted by relevance
50 std::shared_ptr<DocStore> docStore = std::make_shared<DocStore>(); in GetDocStore() local51 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() local72 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() local94 if (docStore->dbPtr == nullptr) { in InnerCloseDocStore()[all …]
60 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in Insert() local61 if (docStore->Put(entry) != 0) { in Insert()81 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in Update() local82 if (docStore->Merge(entry) != 0) { in Update()111 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in Delete() local112 if (delNum = docStore->Delete(dataQuery); delNum < 0) { in Delete()128 auto docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile); in GetNum() local129 if (result = docStore->GetNum(); result < 0) { in GetNum()
828 std::shared_ptr<DocStore> docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile_); in ExecuteSQL() local829 int retCode = docStore->GetEntriesWithQuery(dataQuery, entries); in ExecuteSQL()854 std::shared_ptr<DocStore> docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile_); in ExecuteWithCallback() local861 docStore->GetEntryDuringQuery(dataQuery, c); in ExecuteWithCallback()
122 auto docStore = GetDocStore(); in InsertDb() local126 if (docStore->Put(entry, coll.c_str()) != 0) { in InsertDb()