RDbStoreDatabase Class Reference

class RDbStoreDatabase : public RDbDatabase

DBMS Store database implementation

Inherits from

  • RDbStoreDatabase
Public Member Functions
IMPORT_C TStreamId CreateL ( CStreamStore *)
IMPORT_C void DecompressL ( CStreamStore &, TStreamId )
IMPORT_C void OpenL ( CStreamStore *, TStreamId )
Inherited Functions
RDbDatabase::AlterTable(const TDesC &,const CDbColSet &)
RDbDatabase::Begin()
RDbDatabase::Close()
RDbDatabase::ColSetL(const TDesC &)const
RDbDatabase::Commit()
RDbDatabase::Compact()
RDbDatabase::CreateIndex(const TDesC &,const TDesC &,const CDbKey &)
RDbDatabase::CreateTable(const TDesC &,const CDbColSet &)
RDbDatabase::CreateTable(const TDesC &,const CDbColSet &,const CDbKey &)
RDbDatabase::Destroy()
RDbDatabase::DropIndex(const TDesC &,const TDesC &)
RDbDatabase::DropTable(const TDesC &)
RDbDatabase::Execute(const TDesC &,TDbTextComparison)
RDbDatabase::InTransaction()const
RDbDatabase::IndexNamesL(const TDesC &)const
RDbDatabase::IsDamaged()const
RDbDatabase::KeyL(const TDesC &,const TDesC &)const
RDbDatabase::Recover()
RDbDatabase::Rollback()
RDbDatabase::Size()const
RDbDatabase::TableNamesL()const
RDbDatabase::UpdateStats()
Inherited Attributes
RDbDatabase::iDatabase

Member Functions Documentation

CreateL(CStreamStore *)

IMPORT_C TStreamId CreateL ( CStreamStore * aStore )

Creates a new non-secure, non-shareable database, which will be located in a stream store.

Note: RDbNamedDatabase should always be the preferred choice, except the following two cases:
         - your intention is to create, fill and then compress a database, which will be used only in a read-only mode;
 - your intention is to create a database in a stream store, which stream store will be used for storing
   some additional, non-database data;
        
leave
System-wide or database specific error codes.
RDbNamedDatabase

Parameters

CStreamStore * aStore The stream store object, where the database will be created.

DecompressL(CStreamStore &, TStreamId)

IMPORT_C void DecompressL ( CStreamStore & aStore,
TStreamId aId
) [static]

Parameters

CStreamStore & aStore
TStreamId aId

OpenL(CStreamStore *, TStreamId)

IMPORT_C void OpenL ( CStreamStore * aStore,
TStreamId anId
)

Opens an existing non-secure, non-shareable database, which is located in a stream store.

Note: RDbNamedDatabase should always be the preferred choice, except the following two cases:
         - your intention is to create, fill and then compress a database, which will be used only in a read-only mode;
 - your intention is to create a database in a stream store, which stream store will be used for storing
   some additional, non-database data;
        
leave
System-wide or database specific error codes.
RDbStoreDatabase::CreateL(CStreamStore* aStore) RDbNamedDatabase

Parameters

CStreamStore * aStore The stream store object, where the database is located.
TStreamId anId The id of the root stream of the database.