Binding Methods to an Operator - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

Product
Parallel Transporter
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2435
lifecycle
previous
Product Category
Teradata Tools and Utilities

Binding Methods to an Operator

Teradata PT operators are packaged according to type (consumer, producer, filter, or standalone). Each operator type corresponds to a load module that is read by the Teradata PT processor and dynamically loaded into memory at execution time.

Each operator load module is referenced by the Teradata PT processor using the operator object name, which must be defined in the Teradata PT metadata. Use the following function to define your operator:

PX_DefineOperator(operatorModuleName, phaseIndicator);

where:

  • operatorModuleName - a character string that uniquely identifies the operator to which the methods are to be bound
  • phaseIndicator - the indication of whether or not the operator uses the multiphase coordination protocol:
  • PX_MultiPhase
  • PX_NonMultiPhase
  • Example  

    PX_DefineOperator(“liboperator1”, PX_MultiPhase);