Pipeline object
A Pipeline system object is used to manage a data pipeline during
execution. You use a Pipeline object by defining a standard class user
object inherited from the built-in Pipeline object in the User Object
painter. You can then access the Pipeline events by writing scripts that
contain code for the events.
For more information about piping data, see Piping Data Between Data Sources.
Properties
Pipeline property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
DataObject |
String |
The name of the pipeline object (the object created |
RowsInError |
Long |
The number of rows the pipeline found in error (for |
RowsRead |
Long |
The number of rows read by the |
RowsWritten |
Long |
The number of rows written by the |
Syntax |
String |
The syntax used to create the pipeline object (the |
Events
Pipeline event |
Occurs |
---|---|
When the user object is created. |
|
When the user object is destroyed. |
|
When Start or Repair is completed. |
|
After each block of rows is read or written. The |
|
When a Start or Repair is started. |
Functions
Pipeline function |
Datatype returned |
Description |
---|---|---|
Integer |
Stops execution of a pipeline. |
|
String |
Returns the name assigned to the user |
|
Integer |
Creates a reference to a context-specific instance |
|
PowerObject |
Returns a reference to the name of the parent |
|
Boolean |
Adds an event to the end of the message queue of |
|
Integer |
Updates the target database with corrections that |
|
Integer |
Executes a pipeline. |
|
Integer |
Sends an event to the user object and executes the |
|
Object |
Returns the type of the user object. |