| Modifier and Type | Method and Description |
|---|---|
| public Properties[] | Returns: Partition Properties object arrayGets array of Partition Properties objects for Partitions. |
| public int | |
| public boolean | Returns: override setting.Return current value of partition override setting. |
| public int | Returns: requested thread countGets maximum number of threads requested to use to run partitions for this step. |
| public void | setPartitionProperties(Properties[]
specifies the Properties object array props)Sets array of substitution Properties objects for the set of Partitions. |
| public void | |
| public void | setPartitionsOverride(boolean
See method description override)Specify whether or not to override the partition count from the previous job execution. |
| public void | setThreads(int
specifies the requested thread count count)Set maximum number of threads requested to use to run partitions for this step. |
| getPartitionProperties | back to summary |
|---|---|
| public Properties[] getPartitionProperties() Gets array of Partition Properties objects for Partitions. These can be used in Job XML substitution using substitution expressions with the syntax: #{partitionPlan['propertyName']} Each element of the Properties array returned can be used to resolving substitutions for a single partition. In the typical use case, each Properties element will have a similar set of property names, with a substitution potentially resolving to the corresponding value for each partition.
| |
| getPartitions | back to summary |
|---|---|
| public int getPartitions() Gets count of Partitions.
| |
| getPartitionsOverride | back to summary |
|---|---|
| public boolean getPartitionsOverride() Return current value of partition override setting.
| |
| getThreads | back to summary |
|---|---|
| public int getThreads() Gets maximum number of threads requested to use to run partitions for this step. A value of '0' requests the batch implementation to use the partition count as the thread count. Note the batch runtime is not required to use this full number of threads; it may not have this many available, and may use less.
| |
| setPartitionProperties | back to summary |
|---|---|
| public void setPartitionProperties(Properties[] props) Sets array of substitution Properties objects for the set of Partitions.
| |
| setPartitions | back to summary |
|---|---|
| public void setPartitions(int count) Set number of partitions.
| |
| setPartitionsOverride | back to summary |
|---|---|
| public void setPartitionsOverride(boolean override) Specify whether or not to override the partition count from the previous job execution. This applies only to step restart.
When
When
| |
| setThreads | back to summary |
|---|---|
| public void setThreads(int count) Set maximum number of threads requested to use to run partitions for this step. A value of '0' requests the batch implementation to use the partition count as the thread count. Note the batch runtime is not required to use this full number of threads; it may not have this many available, and may use less.
| |