public class SwapFn<V1,V2> extends MapFn<Pair<V1,V2>,Pair<V2,V1>>
Pair
type.Constructor and Description |
---|
SwapFn() |
Modifier and Type | Method and Description |
---|---|
Pair<V2,V1> |
map(Pair<V1,V2> input)
Maps the given input into an instance of the output type.
|
static <V1,V2> PType<Pair<V2,V1>> |
ptype(PType<Pair<V1,V2>> pt) |
static <K,V> PTableType<V,K> |
tableType(PTableType<K,V> ptt) |
process, scaleFactor
cleanup, configure, disableDeepCopy, initialize, setConfiguration, setContext
public static <K,V> PTableType<V,K> tableType(PTableType<K,V> ptt)
Copyright © 2016 The Apache Software Foundation. All rights reserved.