Class MapToTupleFunction<K,V>
java.lang.Object
org.apache.beam.runners.twister2.translators.functions.MapToTupleFunction<K,V>
- All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable
,edu.iu.dsc.tws.api.tset.fn.MapFunc<edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],
,byte[]>, WindowedValue<KV<K, V>>> edu.iu.dsc.tws.api.tset.fn.TFunction<edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],
,byte[]>, WindowedValue<KV<K, V>>> Serializable
public class MapToTupleFunction<K,V>
extends Object
implements edu.iu.dsc.tws.api.tset.fn.MapFunc<edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]>,WindowedValue<KV<K,V>>>
Map to tuple function.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMapToTupleFunction
(Coder<K> inputKeyCoder, WindowedValues.WindowedValueCoder<V> wvCoder) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.iu.dsc.tws.api.compute.modifiers.Closable
reset
Methods inherited from interface edu.iu.dsc.tws.api.tset.fn.TFunction
close
-
Constructor Details
-
MapToTupleFunction
public MapToTupleFunction() -
MapToTupleFunction
-
-
Method Details
-
map
-
prepare
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context) -
readResolve
- Throws:
ObjectStreamException
-