Can` JavaPairPartitionMapper<T, K, V>` be an abstract class that extends or implements `PartitionMapper<T, Tuple2<K, V>>`?  If you can do that, then you wouldn't have to wrap the the Java PartitionMapper to convert it into its Scala counterpart.