Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Private_Edition_flag.png

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

setPartition

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

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.

void setPartition ( drudr to, drudr from )

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.

Example - using setPartition

A simple APL example of setPartition:

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

  • No labels