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