Table of Contents

Search

  1. Preface
  2. Introduction to the Informatica Connector Toolkit
  3. Installing and Upgrading the Informatica Connector Toolkit
  4. Building an Adapter
  5. Connection Attributes
  6. Type System
  7. Metadata Objects
  8. Partitioning Capability
  9. Run-time Behavior
  10. Adapter Example: Instagram
  11. Adapter Example: MySQL
  12. Adapter Example: YouTube
  13. Metadata Models
  14. ASO Model
  15. Adapter Project Migration
  16. Frequently Asked Questions

Informatica Connector Toolkit Developer Guide

Informatica Connector Toolkit Developer Guide

Run-time Behavior Overview

Run-time Behavior Overview

Use the functions in the Informatica Connector Toolkit API to specify the run-time behavior of the adapter. You must write the code to define how the adapter connects, disconnects, reads from and writes to the data source.
The run-time functions are available in C and Java. Within the run-time functions, you can use any API that is appropriate for communicating with the data source. You must implement all the run-time functions.
The run-time functions use character string arguments and character data buffers in UCS-2 format. If the database API communicates with the data source through the UCS-2 character set, then pass the character strings and data buffers directly to the database API. If the database API does not use the UCS-2 character set, you must convert the data to UCS-2 format before you pass the data to the database API.
To reduce complexity, design the adapter so that it does not require the end user to specify any character set information. Use the Unicode mode if the database client API provides a Unicode mode. Or, query the database to determine the correct character set to use when reading or writing data to the database. If you require input from the end user about the correct character set, define a custom connection attribute to store this information.
You can define the adapter run-time behavior to support pre and post commands to perform tasks before and after a mapping run. For example, you can define the adapter run-time behavior to support a pre command that initializes environment variables before the mapping run.


Updated May 15, 2019


Explore Informatica Network