16.10 - Operator Object Classes - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

Parallel Transporter
May 2017
Programming Reference

Within the Teradata PT infrastructure, every operator is an object. The operator interface provides the base class attributes and methods that are inherited by every defined operator object, as shown in the following figure.

Custom operator objects must use the inherited attributes and methods of the Teradata PT operator interface for functional interaction with other operator objects and with the Teradata PT processor.

Operator Object Class Hierarchy

Within the Teradata PT object class hierarchy, object classes provide the attributes and functions to other objects as described in the table.

Object Class Descriptions
Operator Object Class Description
Access Class Accesses data objects.

The interface functions of this class disregard all of the operational peculiarities of how the data is accessed, and remain consistent for any type of access operator object.

As shown in the figure above, the Access Class object provides the base class functions for the Producer Class and Consumer Class objects.

Consumer Class Accepts data from other operators and stores it in an external data store such as a file or a database table.
Filter Class Filters and cleanses the input data stream, producing a specified output data stream.
Producer Class Retrieves data from an external data store such as a file or a database table and provides it to other operators.

As shown in the figure, the Producer Class object is a subclass of the Access Class object.

Projector Class Projects the values of specified attributes from the input data stream.

Projector Class operator objects can handle any type of data such as images and pictures, voice, text, and so on.