Class Twister2BoundedSource<T>
java.lang.Object
edu.iu.dsc.tws.api.tset.fn.BaseTFunction<WindowedValue<T>,WindowedValue<T>>
edu.iu.dsc.tws.api.tset.fn.BaseSourceFunc<WindowedValue<T>>
org.apache.beam.runners.twister2.translation.wrappers.Twister2BoundedSource<T>
- All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable
,edu.iu.dsc.tws.api.tset.fn.SourceFunc<WindowedValue<T>>
,edu.iu.dsc.tws.api.tset.fn.TFunction<WindowedValue<T>,
,WindowedValue<T>> Serializable
public class Twister2BoundedSource<T>
extends edu.iu.dsc.tws.api.tset.fn.BaseSourceFunc<WindowedValue<T>>
Twister2 wrapper for Bounded Source.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTwister2BoundedSource
(BoundedSource<T> boundedSource, Twister2TranslationContext context, PipelineOptions options) -
Method Summary
Methods inherited from class edu.iu.dsc.tws.api.tset.fn.BaseTFunction
getInput, getTSetContext
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
-
Constructor Details
-
Twister2BoundedSource
public Twister2BoundedSource(BoundedSource<T> boundedSource, Twister2TranslationContext context, PipelineOptions options)
-
-
Method Details
-
prepare
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context) - Specified by:
prepare
in interfaceedu.iu.dsc.tws.api.tset.fn.TFunction<WindowedValue<T>,
WindowedValue<T>> - Overrides:
prepare
in classedu.iu.dsc.tws.api.tset.fn.BaseTFunction<WindowedValue<T>,
WindowedValue<T>>
-
hasNext
public boolean hasNext() -
next
-
readResolve
- Throws:
ObjectStreamException
-