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, scaleFactorcleanup, configure, disableDeepCopy, initialize, setConfiguration, setContextpublic static <K,V> PTableType<V,K> tableType(PTableType<K,V> ptt)
Copyright © 2017 The Apache Software Foundation. All rights reserved.