Class ByteToWindowFunction<K,V>

java.lang.Object
org.apache.beam.runners.twister2.translators.functions.ByteToWindowFunction<K,V>
All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable, edu.iu.dsc.tws.api.tset.fn.MapFunc<KV<K,Iterable<WindowedValue<V>>>,edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],Iterator<byte[]>>>, edu.iu.dsc.tws.api.tset.fn.TFunction<KV<K,Iterable<WindowedValue<V>>>,edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],Iterator<byte[]>>>, Serializable

public class ByteToWindowFunction<K,V> extends Object implements edu.iu.dsc.tws.api.tset.fn.MapFunc<KV<K,Iterable<WindowedValue<V>>>,edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],Iterator<byte[]>>>
ByteToWindow function.
See Also:
  • Constructor Details

  • Method Details

    • map

      public KV<K,Iterable<WindowedValue<V>>> map(edu.iu.dsc.tws.api.comms.structs.Tuple<byte[],Iterator<byte[]>> 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