Searched refs:SQLiteLocalStorageExecutor (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_local_storage_executor.cpp | 40 SQLiteLocalStorageExecutor::SQLiteLocalStorageExecutor(sqlite3 *dbHandle, bool writable, bool isMem… in SQLiteLocalStorageExecutor() function in DistributedDB::SQLiteLocalStorageExecutor 44 SQLiteLocalStorageExecutor::~SQLiteLocalStorageExecutor() in ~SQLiteLocalStorageExecutor() 47 int SQLiteLocalStorageExecutor::Get(const Key &key, Value &value) const in Get() 75 int SQLiteLocalStorageExecutor::Clear() in Clear() 81 int SQLiteLocalStorageExecutor::GetEntries(const Key &keyPrefix, in GetEntries() 148 int SQLiteLocalStorageExecutor::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch() 173 int SQLiteLocalStorageExecutor::StartTransaction() in StartTransaction() 179 int SQLiteLocalStorageExecutor::Commit() in Commit() 185 int SQLiteLocalStorageExecutor::RollBack() in RollBack() 191 int SQLiteLocalStorageExecutor::Put(const Key &key, const Value &value) in Put() [all …]
|
H A D | sqlite_local_storage_executor.h | 25 class SQLiteLocalStorageExecutor : public SQLiteStorageExecutor { 27 SQLiteLocalStorageExecutor(sqlite3 *dbHandle, bool writable, bool isMemDb); 28 ~SQLiteLocalStorageExecutor() override; 31 DISABLE_COPY_ASSIGN_MOVE(SQLiteLocalStorageExecutor);
|
H A D | sqlite_local_storage_engine.cpp | 28 return new (std::nothrow) SQLiteLocalStorageExecutor(dbHandle, isWrite, isMemDb); in NewSQLiteStorageExecutor()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb.h | 55 SQLiteLocalStorageExecutor *GetHandle(bool isWrite, int &errCode, 58 void ReleaseHandle(SQLiteLocalStorageExecutor *&handle) const;
|
H A D | sqlite_local_kvdb.cpp | 114 SQLiteLocalStorageExecutor *handle = GetHandle(true, errCode); in Export() 204 SQLiteLocalStorageExecutor *SQLiteLocalKvDB::GetHandle(bool isWrite, int &errCode, OperatePerm perm… in GetHandle() 211 …return static_cast<SQLiteLocalStorageExecutor *>(storageEngine_->FindExecutor(isWrite, perm, errCo… in GetHandle() 248 void SQLiteLocalKvDB::ReleaseHandle(SQLiteLocalStorageExecutor *&handle) const in ReleaseHandle()
|
H A D | sqlite_local_kvdb_connection.cpp | 53 SQLiteLocalStorageExecutor *handle = GetDB<SQLiteLocalKvDB>()->GetHandle(false, errCode); in Get() 175 SQLiteLocalStorageExecutor *handle = GetDB<SQLiteLocalKvDB>()->GetHandle(false, errCode); in GetEntries() 375 SQLiteLocalStorageExecutor *handle = GetDB<SQLiteLocalKvDB>()->GetHandle(true, errCode); in StartTransactionInner()
|
H A D | sqlite_local_kvdb_connection.h | 103 SQLiteLocalStorageExecutor *writeHandle_; // only existed while in transaction.
|