To merge multiple partitions into a target partition, specify the start-partition, end-partition, and target-partition parameters in the PartitionMergeUtility class. If the start and end partitions are not adjacent to each other, in addition to the start and end partitions, the data from all the partitions between the two is merged into the target partition. Finally, all the partitions that have been merged into the target partition are deleted.