Connecting to a Data Source Using an IDD

The basics

Every connection that K2 makes to a data source is through an Integrated Data Driver, or IDD. K2 comes with some IDDs which can connect to various kinds of data sources. This document describes how to create your own IDD to connect to some other kind of data source. Each IDD is responsible for:

To build an IDD, you must extend two abstract classes defined by K2, called K2.driver.DriverA and K2.driver.DriverConnectionA. In this document we refer to the classes you create as the "driver class" and the "connection class" (and objects of these classes as "driver object" and "connection object"), and describe how you should implement the abstract methods they inherit. The first step is to examine your data source and decide what kinds of queries it can support.

[Tech Docs Index]