Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Private_Edition_flag.png

This chapter describes the functions used to that support scalable batch workfows, i.e, workflows: batch workflows that start with a Scalable Interworkflow Inter workflow Collector.

setPartition

This function copies the partition associated with an existing UDR to another UDR.

Code Block
void setPartition ( drudr to, drudr from )

In scalable workflows, all UDRs must be assigned a partition using the partition profile configured on the collector. UDRs originating at the collector are automatically assigned a partition. Aggregation sessions are also automatically assigned a partition. However, if a workflow creates additional UDRs, the author of the workflow is responsible for ensuring that these UDRs are assigned a partition. This function allows the author to copy the partition of an existing UDR to a newly created UDR.

...

Parameter

Description

to

The UDR to which the partition is copied.

from

The existing UDR from which the partition will be copied. This UDR must have already been assigned a partition either automatically or by other calls to setPartition.

Info

Example - using setPartition

A simple APL example of setPartition:

Code Block
consume {
  OutputUDR outputUDR = udrCreate(OutputUDR);
  setPartition(outputUDR, input);
  udrRoute(outputUDR);
}

...