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 Details

  • Method Details

    • map

      public edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],byte[]> map(WindowedValue<KV<K,V>> input)
      Specified by:
      map in interface edu.iu.dsc.tws.api.tset.fn.MapFunc<K,V>
    • prepare

      public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
      Specified by:
      prepare in interface edu.iu.dsc.tws.api.tset.fn.TFunction<K,V>
    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Throws:
      ObjectStreamException