public class BoundedSourceP<T>
extends com.hazelcast.jet.core.AbstractProcessor
implements com.hazelcast.jet.Traverser
Processor implementation for reading from a bounded Beam
source.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
complete() |
protected void |
init(com.hazelcast.jet.core.Processor.Context context) |
boolean |
isCooperative() |
java.lang.Object |
next() |
static <T> com.hazelcast.jet.core.ProcessorMetaSupplier |
supplier(BoundedSource<T> boundedSource,
org.apache.beam.runners.core.construction.SerializablePipelineOptions options,
Coder outputCoder,
java.lang.String ownerId) |
emitFromTraverser, emitFromTraverser, emitFromTraverser, emitFromTraverserToSnapshot, flatMapper, flatMapper, flatMapper, getLogger, getOutbox, init, process, restoreFromSnapshot, restoreFromSnapshot, tryEmit, tryEmit, tryEmit, tryEmitToSnapshot, tryProcess, tryProcess0, tryProcess1, tryProcess2, tryProcess3, tryProcess4, tryProcessWatermarkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void init(@Nonnull com.hazelcast.jet.core.Processor.Context context) throws java.lang.Exception
init in class com.hazelcast.jet.core.AbstractProcessorjava.lang.Exceptionpublic java.lang.Object next()
next in interface com.hazelcast.jet.Traverserpublic boolean complete()
complete in interface com.hazelcast.jet.core.Processorpublic boolean isCooperative()
isCooperative in interface com.hazelcast.jet.core.Processorpublic void close()
throws java.lang.Exception
close in interface com.hazelcast.jet.core.Processorjava.lang.Exceptionpublic static <T> com.hazelcast.jet.core.ProcessorMetaSupplier supplier(BoundedSource<T> boundedSource, org.apache.beam.runners.core.construction.SerializablePipelineOptions options, Coder outputCoder, java.lang.String ownerId)