Add zipPartitions to Java API.