Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions
  8. Creating Custom Functions
  9. Custom Function API Reference

Transformation Language Reference

Transformation Language Reference

Get User Interface Function-Level Function

Get User Interface Function-Level Function

This function sets the function pointers for function-level interaction. PowerCenter calls this function for every custom function this library implements.
Use the following syntax:
INFA_EXPR_STATUS INFA_EXPR_FunctionInstanceGetUserInterface(IUNICHAR* functionName, INFA_EXPR_FUNCTION_INSTANCE_METHODS* functions)
Argument
Datatype
Input/
Output
Description
functionName
IUNICHAR
Input
Namespace of the function.
functions
INFA_EXPR_FUNCTION_INSTANCE_METHODS
Input
Place holder for the function pointers to be invoked at the function instance-level.
This function returns the following functions:
  • fnInstance_init.
    Initializes an instance of a custom function.
  • fnInstance_processRow.
    Processes data for an instance of the custom function.
  • fnInstance_deinit.
    Deinitializes an instance of a custom function.