public class Twister2BoundedSource<T>
extends edu.iu.dsc.tws.api.tset.fn.BaseSourceFunc<org.apache.beam.sdk.util.WindowedValue<T>>
Constructor and Description |
---|
Twister2BoundedSource(BoundedSource<T> boundedSource,
Twister2TranslationContext context,
PipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
org.apache.beam.sdk.util.WindowedValue<T> |
next() |
void |
prepare(edu.iu.dsc.tws.api.tset.TSetContext context) |
protected java.lang.Object |
readResolve() |
public Twister2BoundedSource(BoundedSource<T> boundedSource, Twister2TranslationContext context, PipelineOptions options)
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
prepare
in interface edu.iu.dsc.tws.api.tset.fn.TFunction<org.apache.beam.sdk.util.WindowedValue<T>,org.apache.beam.sdk.util.WindowedValue<T>>
prepare
in class edu.iu.dsc.tws.api.tset.fn.BaseTFunction<org.apache.beam.sdk.util.WindowedValue<T>,org.apache.beam.sdk.util.WindowedValue<T>>
public boolean hasNext()
public org.apache.beam.sdk.util.WindowedValue<T> next()
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException