Binding Methods to an Operator - Parallel Transporter

Teradata® Parallel Transporter Operator Programmer Guide

Product
Parallel Transporter
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
oee1544831943772.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2435
lifecycle
previous
Product Category
Teradata Tools and Utilities

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 – character string that uniquely identifies the operator to which the methods are to be bound
  • phaseIndicator – indication of whether or not the operator uses the multiphase coordination protocol:
    • PX_MultiPhase
    • PX_NonMultiPhase

Example - Binding Method

PX_DefineOperator(“liboperator1”, PX_MultiPhase);