16.10 - User-Provided Control Functions - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

Parallel Transporter
May 2017
Programming Reference

At a minimum, each customized operator must define the user-provided control functions listed in the following table.

User-Provided Control Functions
Function Use
Initiate Preparing the operating environment for executing operators by performing the following tasks:
  • Establishing a connection with a target database
  • Allocating storage for processing data rows or for subsequent Teradata PT operations
  • Opening a data set for row retrieval or update
  • Parsing input parameters
  • Specifying the cursor position for reading a file
  • Locking a table for exclusive update operations
Execute Performing the following data access and manipulation tasks:
  • Reading rows from a data source
  • Writing data to a data target
  • Projecting column values
  • Filtering data
  • Converting data types
  • Merging and splitting data streams
Checkpoint Writing checkpoint records to a restart log table that the operator can use to restart in case of a hardware or software system failure.
Restart Restarting operators using the most recently written checkpoint records.
Event Performing event processing or notification based on caller-specified event.
Terminate Releasing system resources allocated by the corresponding Initiate function.