Class ByteToWindowFunctionPrimitive<K,V>
- java.lang.Object
-
- org.apache.beam.runners.twister2.translators.functions.ByteToWindowFunctionPrimitive<K,V>
-
- All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable,edu.iu.dsc.tws.api.tset.fn.MapFunc<org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,V>>,edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]>>,edu.iu.dsc.tws.api.tset.fn.TFunction<org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,V>>,edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]>>,java.io.Serializable
public class ByteToWindowFunctionPrimitive<K,V> extends java.lang.Object implements edu.iu.dsc.tws.api.tset.fn.MapFunc<org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,V>>,edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]>>ByteToWindow function.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByteToWindowFunctionPrimitive()ByteToWindowFunctionPrimitive(org.apache.beam.sdk.coders.Coder<K> inputKeyCoder, org.apache.beam.sdk.values.WindowedValues.WindowedValueCoder<V> wvCoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,V>>map(edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]> input)voidprepare(edu.iu.dsc.tws.api.tset.TSetContext context)protected java.lang.ObjectreadResolve()
-
-
-
Method Detail
-
map
public org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,V>> map(edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]> input)
-
prepare
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
-
readResolve
protected java.lang.Object readResolve() throws java.io.ObjectStreamException- Throws:
java.io.ObjectStreamException
-
-