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