Class ByteToElemFunction<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<V>,​byte[]>, edu.iu.dsc.tws.api.tset.fn.TFunction<org.apache.beam.sdk.values.WindowedValue<V>,​byte[]>, java.io.Serializable

    public class ByteToElemFunction<V>
    extends java.lang.Object
    implements edu.iu.dsc.tws.api.tset.fn.MapFunc<org.apache.beam.sdk.values.WindowedValue<V>,​byte[]>
    ByteToWindow function.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.sdk.values.WindowedValue<V> map​(byte[] input)  
      void prepare​(edu.iu.dsc.tws.api.tset.TSetContext context)  
      protected java.lang.Object readResolve()  
      • 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 Detail

      • ByteToElemFunction

        public ByteToElemFunction()
      • ByteToElemFunction

        public ByteToElemFunction​(org.apache.beam.sdk.values.WindowedValues.WindowedValueCoder<V> wvCoder)
    • Method Detail

      • map

        public org.apache.beam.sdk.values.WindowedValue<V> map​(byte[] input)
        Specified by:
        map in interface edu.iu.dsc.tws.api.tset.fn.MapFunc<org.apache.beam.sdk.values.WindowedValue<V>,​byte[]>
      • 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<org.apache.beam.sdk.values.WindowedValue<V>,​byte[]>
      • readResolve

        protected java.lang.Object readResolve()
                                        throws java.io.ObjectStreamException
        Throws:
        java.io.ObjectStreamException