public class MapToTupleFunction<K,V> extends java.lang.Object implements edu.iu.dsc.tws.api.tset.fn.MapFunc<edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]>,org.apache.beam.sdk.util.WindowedValue<KV<K,V>>>
Constructor and Description |
---|
MapToTupleFunction() |
MapToTupleFunction(Coder<K> inputKeyCoder,
org.apache.beam.sdk.util.WindowedValue.WindowedValueCoder<V> wvCoder) |
Modifier and Type | Method and Description |
---|---|
edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]> |
map(org.apache.beam.sdk.util.WindowedValue<KV<K,V>> input) |
void |
prepare(edu.iu.dsc.tws.api.tset.TSetContext context) |
protected java.lang.Object |
readResolve() |
public edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]> map(org.apache.beam.sdk.util.WindowedValue<KV<K,V>> input)
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException