| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| pack-priv Properties[] | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Properties[] | getPartitionProperties()
Implements jakarta. Gets array of Partition Properties objects for Partitions. |
| public int | getPartitions()
Implements jakarta. Gets count of Partitions. |
| public boolean | getPartitionsOverride()
Implements jakarta. Return current value of partition override setting. |
| public int | getThreads()
Implements jakarta. Gets maximum number of threads requested to use to run partitions for this step. |
| public void | setPartitionProperties(Properties[]
specifies the Properties object array props)Implements jakarta. Sets array of substitution Properties objects for the set of Partitions. |
| public void | setPartitions(int
specifies the partition count count)Implements jakarta. Set number of partitions. |
| public void | setPartitionsOverride(boolean
See method description override)Implements jakarta. Specify whether or not to override the partition count from the previous job execution. |
| public void | setThreads(int
specifies the requested thread count count)Implements jakarta. Set maximum number of threads requested to use to run partitions for this step. |
| override | back to summary |
|---|---|
| private boolean override | |
| partitionProperties | back to summary |
|---|---|
| pack-priv Properties[] partitionProperties | |
| partitions | back to summary |
|---|---|
| private int partitions | |
| threads | back to summary |
|---|---|
| private int threads | |
| PartitionPlanImpl | back to summary |
|---|---|
| public PartitionPlanImpl() | |
| getPartitionProperties | back to summary |
|---|---|
| public Properties[] getPartitionProperties() Implements jakarta. Doc from jakarta. 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() Implements jakarta. Doc from jakarta. Gets count of Partitions.
| |
| getPartitionsOverride | back to summary |
|---|---|
| public boolean getPartitionsOverride() Implements jakarta. Doc from jakarta. Return current value of partition override setting.
| |
| getThreads | back to summary |
|---|---|
| public int getThreads() Implements jakarta. Doc from jakarta. 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) Implements jakarta. Doc from jakarta. Sets array of substitution Properties objects for the set of Partitions.
| |
| setPartitions | back to summary |
|---|---|
| public void setPartitions(int count) Implements jakarta. Doc from jakarta. Set number of partitions.
| |
| setPartitionsOverride | back to summary |
|---|---|
| public void setPartitionsOverride(boolean override) Implements jakarta. Doc from jakarta. 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) Implements jakarta. Doc from jakarta. 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.
| |