Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Connector Toolkit
  3. Before you begin
  4. Develop a connector for Cloud Data Integration
  5. Develop a connector for Data Loader
  6. Import a connector
  7. Connection attributes
  8. Type system
  9. Connector metadata
  10. Partitioning capability
  11. Pushdown capability
  12. Mappings in advanced mode
  13. Manual changes to Informatica Connector Toolkit source code
  14. Runtime behavior
  15. Connector example: MySQL_Cloud
  16. Version control integration
  17. Appendix A: Metadata models
  18. Appendix B: ASO model
  19. Appendix C: Connector project migration
  20. Appendix D: Frequently used generic APIs in Informatica Connector Toolkit
  21. Appendix E: Frequently asked questions

Cloud Data Integration Connector Toolkit Developer Guide

Cloud Data Integration Connector Toolkit Developer Guide

Configure advanced capabilities

Configure advanced capabilities

Configure the advanced read and write capabilities for a JDBC driver-based connector. Enable the record extension and field extension to include additional metadata information for objects and fields.
  1. Click
    Configure Advanced Capabilities
    .
    Configure advanced capabilities for the connector.
  2. Enable the advanced read capabilities for the connector.
    Enable advanced read capabilities for the connector.
    1. Select whether the connector supports lookup, foreign key, custom query, object path override, and partitioning when the connector reads from the data source.
      To implement a partition logic based on the partition information that the user specifies, select
      Fixed
      . Implement the partition logic in the DataAdapter class. The user can specify the required partition information before the connector reads from the data source.
    2. Select whether the connector supports join operation when the connector reads from the data source.
      • To specify operators and expression syntax recognized by Cloud Data Integration for the join operation, select
        Platform
        .
      • To specify an expression for the join operation that is specific to the data source for which you build the connector, select
        Native
        .
      When a connector supports platform join, you can use the default operators such as
      =, !=, >, >=, <
      , and
      <=
      for join conditions. You can specify advanced operators such as
      Contains, Starts With, Ends With, Is Null
      , and
      Is Not Null
      for join when you define the read capability for the endpoint metadata object.
      For the code changes to include the advanced operators, see the RuntimeDataAdapter class of the MySQL_Cloud sample connector in the following location:
      source\ict\samples\MySQL_Cloud
    3. Select whether the connector supports Select operation to retrieve data for select rows from the data source.
  3. Click
    Next
    .
  4. To add additional metadata information for the object and fields, select
    Add Record Extension
    and
    Add Field Extension
    .
    Add additional metadata information for the object and fields.
    1. Click
      Add
      to add a record extension or field extension and configure the following properties:
      Property
      Description
      Name
      Name of the attribute.
      Display Name
      Display name for the attribute.
      Description
      Description of the attribute.
      Data Type
      Data type of the attribute.
      Default Value
      Default value for the attribute.
      Min Length
      Minimum length for the value of the attribute.
      Max Length
      Maximum length for the value of the attribute.
      The maximum length of any attribute cannot be greater than Integer.MAX_VALUE, which is 2,147,483,647.
      Supports Parameter
      Indicates whether you can parameterize the attribute.
      When you parameterize an attribute, you can assign values for the attribute at run time.
      • Full Parameterization. Indicates you can parameterize the value of an attribute completely.
      • Partial Parameterization. You can parameterize a part of the attribute value.
      • No. The attribute does not support parameterization.
      Encrypted
      Indicates whether you can encrypt the attribute.
      Mandatory
      Indicates whether a connection attribute requires a value.
      If you set the Mandatory property to True but you do not display the attribute on the connection management user interface, you must set a default value for the attribute.
      Hidden
      Indicates whether you can hide the attribute.
      Allowed Values
      List of values allowed for the attribute.
    2. Click
      OK
      .
      The following shows an example of record extension in Cloud Data Integration:
      Example of record extension in Cloud Data Integration.
      The following image shows an example of field extension in Cloud Data Integration:
      Example of field extension in Cloud Data Integration.
  5. Click
    Generate Code
    .
    After you define the connector metadata, the Informatica Connector Toolkit generates the
    <NMOName>MetadataAdapter.java
    file in the
    Metadata
    folder. Implement the following methods in the
    <NMOName>MetadataAdapter.java
    file to import metadata.
    populateObjectCatalog()
    Populates metadata details in the import wizard for the connector consumer.
    Data preview in Cloud Data Integration does not work if the values of the Record.setName and Record.setNativeName methods are different.
    populateObjectDetails()
    Gets metadata from the data source based on the import dialog options settings.
    If you configured metadata write settings for the connector, implement the
    writeObjects
    method in the
    <NMOName>MetadataAdapter.java
    file.

0 COMMENTS

We’d like to hear from you!