User-Provided Control Functions - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

Product
Parallel Transporter
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2435
lifecycle
previous
Product Category
Teradata Tools and Utilities

User-Provided Control Functions

At a minimum, each customized operator must define the following user-provided control functions:

 

Table 9: 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.