Class ElemToBytesFunction<V>
java.lang.Object
org.apache.beam.runners.twister2.translators.functions.ElemToBytesFunction<V>
- All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable
,edu.iu.dsc.tws.api.tset.fn.MapFunc<byte[],
,WindowedValue<V>> edu.iu.dsc.tws.api.tset.fn.TFunction<byte[],
,WindowedValue<V>> Serializable
public class ElemToBytesFunction<V>
extends Object
implements edu.iu.dsc.tws.api.tset.fn.MapFunc<byte[],WindowedValue<V>>
Map to tuple function.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
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
-
ElemToBytesFunction
public ElemToBytesFunction() -
ElemToBytesFunction
-
-
Method Details
-
map
- Specified by:
map
in interfaceedu.iu.dsc.tws.api.tset.fn.MapFunc<byte[],
WindowedValue<V>>
-
prepare
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context) - Specified by:
prepare
in interfaceedu.iu.dsc.tws.api.tset.fn.TFunction<byte[],
WindowedValue<V>>
-
readResolve
- Throws:
ObjectStreamException
-