Apama 10.15.0 | Connecting Apama Applications to External Components | Standard IAF Plug-ins | The Database Connector IAF Adapter (ADBC) | The ADBC Event application programming interface
 
The ADBC Event application programming interface
 
Discovering data sources
Discovering databases
Opening a database
Closing a database
Storing event data
Storing non-event data
Creating and deleting store events
Handling data storing errors
Committing transactions
Rolling back transactions
Running commands
Executing queries
Prepared statements
Stored procedures
Named queries
The ADBC (Apama Database Connector) Event application programming interface (API) provides operations for more complex, lower level interactions with databases than the operations included with the ADBCHelper API. The ADBC Event API is implemented with the following Apama event types and actions associated with those events.
*Discovery — This event type provides actions to obtain the names of data sources, databases, and named queries. Discovery actions are not necessary if your application knows the names of data sources, databases, and query templates.
*Connection — This event type provides actions for all operations on a database except for those involving queries.
*Query — This event type provides actions for creating and executing queries on databases.
*PreparedQuery — This event type provides actions for creating prepared query statements that are, in turn, used in queries.
The above events and associated actions are defined in the ADBCEvents.mon file.
In addition, some of the actions for Discovery events use the following event types, which are defined in the ADBCAdapterEvents.mon file.
*DataSource
*Database
*QueryTemplate