15.00 - Binding Methods to an Operator - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

prodname
Parallel Transporter
vrm_release
15.00
category
Programming Reference
featnum
B035-2435-034K

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);