15.00 - Operator Object Classes - Parallel Transporter

Teradata Parallel Transporter Operator Programmer Guide

Parallel Transporter
Programming Reference

Operator Object Classes

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 Figure 3.

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.

Figure 3: Operator Object Class Hierarchy

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


Table 3: Object Class Descriptions 

Operator Object Class


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 Figure 3, 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 Figure 3 on page 28, 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.