Searched refs:SQLiteLocalKvDB (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb.cpp | 37 SQLiteLocalKvDB::SQLiteLocalKvDB() in SQLiteLocalKvDB() function in DistributedDB::SQLiteLocalKvDB 41 SQLiteLocalKvDB::~SQLiteLocalKvDB() in ~SQLiteLocalKvDB() 49 int SQLiteLocalKvDB::Open(const KvDBProperties &kvDBProp) in Open() 86 GenericKvDBConnection *SQLiteLocalKvDB::NewConnection(int &errCode) in NewConnection() 98 void SQLiteLocalKvDB::Close() {} in Close() 100 int SQLiteLocalKvDB::Rekey(const CipherPassword &passwd) in Rekey() 153 void SQLiteLocalKvDB::EnableAutonomicUpgrade() in EnableAutonomicUpgrade() 238 const KvDBProperties &SQLiteLocalKvDB::GetDbProperties() const in GetDbProperties() 243 KvDBProperties &SQLiteLocalKvDB::GetDbPropertyForUpdate() in GetDbPropertyForUpdate() 351 int SQLiteLocalKvDB::RemoveKvDB(const KvDBProperties &properties) in RemoveKvDB() [all …]
|
H A D | sqlite_local_kvdb.h | 28 class SQLiteLocalKvDB final : public LocalKvDB { 30 SQLiteLocalKvDB(); 31 ~SQLiteLocalKvDB() override; 34 DISABLE_COPY_ASSIGN_MOVE(SQLiteLocalKvDB); 87 DECLARE_OBJECT_TAG(SQLiteLocalKvDB);
|
H A D | sqlite_local_kvdb_connection.cpp | 30 SQLiteLocalKvDBConnection::SQLiteLocalKvDBConnection(SQLiteLocalKvDB *kvDB) in SQLiteLocalKvDBConnection() 53 SQLiteLocalStorageExecutor *handle = GetDB<SQLiteLocalKvDB>()->GetHandle(false, errCode); in Get() 59 GetDB<SQLiteLocalKvDB>()->ReleaseHandle(handle); in Get() 175 SQLiteLocalStorageExecutor *handle = GetDB<SQLiteLocalKvDB>()->GetHandle(false, errCode); in GetEntries() 180 GetDB<SQLiteLocalKvDB>()->ReleaseHandle(handle); in GetEntries() 351 GetDB<SQLiteLocalKvDB>()->ReleaseHandle(writeHandle_); in PreClose() 375 SQLiteLocalStorageExecutor *handle = GetDB<SQLiteLocalKvDB>()->GetHandle(true, errCode); in StartTransactionInner() 382 GetDB<SQLiteLocalKvDB>()->ReleaseHandle(handle); in StartTransactionInner() 403 GetDB<SQLiteLocalKvDB>()->ReleaseHandle(writeHandle_); in CommitInner() 418 GetDB<SQLiteLocalKvDB>()->ReleaseHandle(writeHandle_); in RollBackInner() [all …]
|
H A D | sqlite_local_kvdb_connection.h | 29 class SQLiteLocalKvDB; variable 33 explicit SQLiteLocalKvDBConnection(SQLiteLocalKvDB *kvDB);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_kvdata_storage.cpp | 69 errCode = static_cast<SQLiteLocalKvDB *>(kvDB)->SetVersion(dbProperties, version); in OpenKvDB() 295 SQLiteLocalKvDB *localKvdb = new (std::nothrow) SQLiteLocalKvDB(); in GetVersion() 402 int errCode = static_cast<SQLiteLocalKvDB *>(kvStorage_)->RunRekeyLogic(type, passwd); in RunRekeyLogic() 407 errCode = static_cast<SQLiteLocalKvDB *>(metaStorage_)->RunRekeyLogic(type, passwd); in RunRekeyLogic() 419 …int errCode = static_cast<SQLiteLocalKvDB *>(kvStorage_)->RunExportLogic(type, passwd, valueDbName… in RunExportLogic() 426 … errCode = static_cast<SQLiteLocalKvDB *>(metaStorage_)->RunExportLogic(type, passwd, metaDbName); in RunExportLogic() 443 int errCode = SQLiteLocalKvDB::BackupCurrentDatabase(dbProperties, dir); in BackupCurrentDatabase() 449 return SQLiteLocalKvDB::BackupCurrentDatabase(dbProperties, dir); in BackupCurrentDatabase() 462 int errCode = SQLiteLocalKvDB::ImportDatabase(dbProperties, dir, passwd); in ImportDatabase() 468 return SQLiteLocalKvDB::ImportDatabase(dbProperties, dir, passwd); in ImportDatabase()
|
H A D | multi_ver_natural_store_commit_storage.cpp | 79 SQLiteLocalKvDB *localKvdb = new (std::nothrow) SQLiteLocalKvDB(); in GetVersion() 138 errCode = static_cast<SQLiteLocalKvDB *>(commitStorageDatabase_)->SetVersion(dbProperties, in Open() 633 … int errCode = static_cast<SQLiteLocalKvDB *>(commitStorageDatabase_)->RunRekeyLogic(type, passwd); in RunRekeyLogic() 645 …int errCode = static_cast<SQLiteLocalKvDB *>(commitStorageDatabase_)->RunExportLogic(type, passwd,… in RunExportLogic() 896 int errCode = SQLiteLocalKvDB::BackupCurrentDatabase(dbProperties, dir); in BackupCurrentDatabase() 910 int errCode = SQLiteLocalKvDB::ImportDatabase(dbProperties, dir, passwd); in ImportDatabase()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_data_connection_test.cpp | 33 SQLiteLocalKvDB *g_invalidDb = nullptr; 53 g_invalidDb = new (std::nothrow) SQLiteLocalKvDB(); in CreateConnInNewDb() 336 SQLiteLocalKvDB *localKvdb = new (std::nothrow) SQLiteLocalKvDB(); 409 SQLiteLocalKvDB *localKvdb = new (std::nothrow) SQLiteLocalKvDB();
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/ |
H A D | local_database_oper.h | 26 LocalDatabaseOper(SQLiteLocalKvDB *localKvDb, SQLiteStorageEngine *storageEngine); 54 SQLiteLocalKvDB *localKvDb_;
|
H A D | local_database_oper.cpp | 26 LocalDatabaseOper::LocalDatabaseOper(SQLiteLocalKvDB *localKvDb, SQLiteStorageEngine *storageEngine) in LocalDatabaseOper()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | default_factory.cpp | 57 IKvDB *kvDb = new (std::nothrow) SQLiteLocalKvDB(); in CreateLocalKvDB()
|