Top Description Methods
jakarta.batch.api.partition

public Interface PartitionMapper

Imports
jakarta.batch.api.partition.PartitionPlan

PartitionMapper receives control at the start of a partitioned execution. A PartitionMapper is responsible to provide unique batch properties for each partition.

Method Summary

Modifier and TypeMethod and Description
public PartitionPlan

Returns:

partition plan for a partitioned step.
mapPartitions
()

The mapPartitions method that receives control at the start of partitioned step processing.

Method Detail

mapPartitionsback to summary
public PartitionPlan mapPartitions() throws Exception

The mapPartitions method that receives control at the start of partitioned step processing. The method returns a PartitionPlan, which specifies the batch properties for each partition.

Returns:PartitionPlan

partition plan for a partitioned step.

Exceptions
Exception:
is thrown if an error occurs.