Is there any mapper class in hadoop that swaps between keys and values? Something similar to the IdentityMapper
? Just that instead of identity, it swaps between the key and value?
Note: I know that it is simple to implement it, but I am asking if there is already a built-in one.