DexNet 4.7.0
Public Member Functions
com::sparsity::dex::gdb::Database Class Reference

Database class. More...

List of all members.

Public Member Functions

boolean IsClosed ()
 Gets if Database instance has been closed or not.
System.String GetAlias ()
 Gets the alias of the Database.
void Close ()
 Closes the Database instance.
System.String GetPath ()
 Gets the path of the Database.
com.sparsity.dex.gdb.Session NewSession ()
 Creates a new Session.
void GetStatistics (com.sparsity.dex.gdb.DatabaseStatistics stats)
 Gets Database statistics.

Detailed Description

Database class.

All the data of the Database is stored into a persistent file which just can be created or open through a Dex instance.

Also, all the manipulation of a Database must be done by means of a Session which can be initiated from a Database instance.

Multiple Databases do not share the memory, that is there is no negotiation among them. In those cases, memory must be prefixed for each Database. To do that, use the DEXConfig.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

void com::sparsity::dex::gdb::Database::Close ( )

Closes the Database instance.

It must be called to ensure the integrity of all data.

System.String com::sparsity::dex::gdb::Database::GetAlias ( )

Gets the alias of the Database.

Returns:
The alias of the Database.
System.String com::sparsity::dex::gdb::Database::GetPath ( )

Gets the path of the Database.

Returns:
The path of the Database.
void com::sparsity::dex::gdb::Database::GetStatistics ( com.sparsity.dex.gdb.DatabaseStatistics  stats)

Gets Database statistics.

Parameters:
stats[out] The DatabaseStatistics instance.
boolean com::sparsity::dex::gdb::Database::IsClosed ( )

Gets if Database instance has been closed or not.

See also:
Close()
Returns:
TRUE if the Database instance has been closed, FALSE otherwise.