Class ImpulseSource
java.lang.Object
org.apache.beam.runners.twister2.translators.functions.ImpulseSource
- All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable
,edu.iu.dsc.tws.api.tset.fn.SourceFunc<WindowedValue<byte[]>>
,edu.iu.dsc.tws.api.tset.fn.TFunction<WindowedValue<byte[]>,
,WindowedValue<byte[]>> Serializable
public class ImpulseSource
extends Object
implements edu.iu.dsc.tws.api.tset.fn.SourceFunc<WindowedValue<byte[]>>
A
SourceFunc
which executes the impulse transform contract.- See Also:
-
Constructor Summary
Constructors -
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.SourceFunc
close
Methods inherited from interface edu.iu.dsc.tws.api.tset.fn.TFunction
prepare
-
Constructor Details
-
ImpulseSource
public ImpulseSource()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceedu.iu.dsc.tws.api.tset.fn.SourceFunc<WindowedValue<byte[]>>
-
next
- Specified by:
next
in interfaceedu.iu.dsc.tws.api.tset.fn.SourceFunc<WindowedValue<byte[]>>
-