Binding Methods to an Operator - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

Product
Parallel Transporter
Release Number
16.20
Published
October 2018
Language
English (United States)
Last Update
2018-10-10
dita:mapPath
vxb1527114222350.ditamap
dita:ditavalPath
Audience_PDF_include.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);