public class Twister2BoundedSource<T> extends BaseSourceFunc<<any>>
Constructor and Description |
---|
Twister2BoundedSource(<any> boundedSource,
Twister2TranslationContext context,
PipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
<any> |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare the function.
|
getInput, getTSetContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public Twister2BoundedSource(<any> boundedSource, Twister2TranslationContext context, PipelineOptions options)
public void prepare(TSetContext context)
TFunction
prepare
in interface TFunction<<any>,<any>>
prepare
in class BaseTFunction<<any>,<any>>
context
- CONTEXTpublic boolean hasNext()
SourceFunc
public <any> next()
SourceFunc