As Java is an object-oriented language, the eXtremeDB Java Native Interface (JNI) is implemented as a "wrapper" over the core C language eXtremeDB libraries. However, the JNI does not simply translate calls to the underlying C API (with all of the appropriate arguments) but implements an object model of the database interface where functionality is grouped and encapsulated in classes.
For example, the Connection class encapsulates the C API connection handle
mco_db_h. Instances of Connection internally call the C functionmco_db_connect()in their constructors and the functionmco_db_disconnect()in theirclose()methods and in their destructors. So the Connection class logically aggregates wrappers of the C API functions that require a connection handlemco_db_has the main argument.Likewise, the class Database implements methods which directly or indirectly call C API functions that are not related to a separate connection, such as
mco_runtime_start(),mco_runtime_stop(),mco_db_open(),mco_db_close(), etc.Please use the links below to view the individual class definitions:
Manages database creation, opening, and closing.Provides methods for database operations.Provides methods for iterating through instances of a class.Performs aggregation.Represents the result of agroup byaggregation operation.Stores an array field in the database as a sequence.Iterates throughsequencefields.Provides runtime database statistics.SQL Classes
Aggregates multiple SqlLocalConnection engines.Iterates through the result of an SQL query.Provides local (in-process) SQL access.Provides remote SQL access to a SqlServer instance.Represents a data set for SQL query results.Provides a SQL server for SqlLocalConnection and SqlRemoteConnection access.Represents the unit (a row) of SQL query results.Transaction Logging Classes
Reads the eXtremeDB Transaction Logging transaction log.Writes the eXtremeDB Transaction Logging transaction log.High Availability Classes
Extends Connection for eXtremeDB High Availability master applications.Extends Connection for eXtremeDB High Availability replica applications.Extends Connection for eXtremeDB Cluster applications.