Apama 10.3 | Apama Documentation | Connecting Apama Applications to External Components | Standard IAF Plug-ins | The Database Connector IAF Adapter (ADBC) | Sample applications
 
Sample applications
Several sample applications in the Apama installation illustrate the use of the ADBCHelper and ADBC Event APIs. The samples are located in the samples\adbc directory of the Apama installation. The api-helper-example uses the ADBCHelper API; the other examples use the ADBC Event API. The samples include:
*api-helper-example — An EPL application that shows how to open and close a database and execute SQL commands and queries using the ADBCHelper API.
*api-example — An EPL application that uses the ADBC Event API to show how to use all API operations except those for storing data. Included is code for discovering data sources and databases, opening and closing databases, and executing queries.
*store-data — An EPL application that shows how to open a database, create a table, and store non-event data using the ADBC Event API.
*store-events — An EPL application that shows how to open a database, create a table, and store event data using the ADBC Event API.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.