SparkseeNet  5.0.0
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.Database Class Reference

Database class. More...

Public Member Functions

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

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 Sparksee 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 SPARKSEEConfig.

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

Member Function Documentation

void com.sparsity.sparksee.gdb.Database.Close ( )

Closes the Database instance.

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

System.String com.sparsity.sparksee.gdb.Database.GetAlias ( )

Gets the alias of the Database.

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

Gets the path of the Database.

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

Gets Database statistics.

Parameters
stats[out] The DatabaseStatistics instance.
boolean com.sparsity.sparksee.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.