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

INFA_EXPR_OPD_METADATA Structure

INFA_EXPR_OPD_METADATA Structure

This structure defines the metadata of the expression operands, including arguments passed to the function and the return type.
The structure contains the following metadata:
  • datatype.
    Datatype of the argument.
  • precision.
    Precision of the argument.
  • scale.
    Scale of the argument.
  • isValueConstant.
    Indicates if the argument is a constant. If so, the framework evaluates the argument once for each function call. The framework uses isValueConstant to optimize for performance. For input arguments that are constants, the plug-in can get the argument values during function instance initialization to optimize performance. For output values, the plug-in sets isValueConstant to TRUE.