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, tryProcessWatermark
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected void init(@Nonnull com.hazelcast.jet.core.Processor.Context context) throws java.lang.Exception
init
in class com.hazelcast.jet.core.AbstractProcessor
java.lang.Exception
public java.lang.Object next()
next
in interface com.hazelcast.jet.Traverser
public boolean complete()
complete
in interface com.hazelcast.jet.core.Processor
public boolean isCooperative()
isCooperative
in interface com.hazelcast.jet.core.Processor
public void close() throws java.lang.Exception
close
in interface com.hazelcast.jet.core.Processor
java.lang.Exception
public 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)