Class BoundedSourceP<T>
java.lang.Object
com.hazelcast.jet.core.AbstractProcessor
org.apache.beam.runners.jet.processors.BoundedSourceP<T>
- All Implemented Interfaces:
com.hazelcast.jet.core.Processor,com.hazelcast.jet.Traverser
public class BoundedSourceP<T>
extends com.hazelcast.jet.core.AbstractProcessor
implements com.hazelcast.jet.Traverser
Jet
Processor implementation for reading from a bounded Beam
source.-
Nested Class Summary
Nested classes/interfaces inherited from class com.hazelcast.jet.core.AbstractProcessor
com.hazelcast.jet.core.AbstractProcessor.FlatMapper<T,R> Nested classes/interfaces inherited from interface com.hazelcast.jet.core.Processor
com.hazelcast.jet.core.Processor.Context -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleancomplete()protected voidinit(com.hazelcast.jet.core.Processor.Context context) booleannext()static <T> com.hazelcast.jet.core.ProcessorMetaSuppliersupplier(BoundedSource<T> boundedSource, org.apache.beam.runners.core.construction.SerializablePipelineOptions options, Coder outputCoder, String ownerId) Methods inherited from class com.hazelcast.jet.core.AbstractProcessor
emitFromTraverser, emitFromTraverser, emitFromTraverser, emitFromTraverserToSnapshot, flatMapper, flatMapper, flatMapper, getLogger, getOutbox, init, process, restoreFromSnapshot, restoreFromSnapshot, tryEmit, tryEmit, tryEmit, tryEmitToSnapshot, tryProcess, tryProcess0, tryProcess1, tryProcess2, tryProcess3, tryProcess4, tryProcessWatermarkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hazelcast.jet.core.Processor
completeEdge, finishSnapshotRestore, saveToSnapshot, snapshotCommitFinish, snapshotCommitPrepare, tryProcessMethods inherited from interface com.hazelcast.jet.Traverser
append, dropWhile, filter, flatMap, map, onFirstNull, peek, prepend, takeWhile
-
Method Details
-
init
- Overrides:
initin classcom.hazelcast.jet.core.AbstractProcessor- Throws:
Exception
-
next
- Specified by:
nextin interfacecom.hazelcast.jet.Traverser<T>
-
complete
public boolean complete()- Specified by:
completein interfacecom.hazelcast.jet.core.Processor
-
isCooperative
public boolean isCooperative()- Specified by:
isCooperativein interfacecom.hazelcast.jet.core.Processor
-
close
- Specified by:
closein interfacecom.hazelcast.jet.core.Processor- Throws:
Exception
-
supplier
public static <T> com.hazelcast.jet.core.ProcessorMetaSupplier supplier(BoundedSource<T> boundedSource, org.apache.beam.runners.core.construction.SerializablePipelineOptions options, Coder outputCoder, String ownerId)
-