T - the type of elements that can be added to this bundlepublic static interface InProcessPipelineRunner.UncommittedBundle<T>
PCollection. Elements are output to a bundle, which will cause them to be
executed by PTransforms that consume the PCollection this bundle is
a part of at a later point. This is an uncommitted bundle and can have elements added to it.| Modifier and Type | Method and Description |
|---|---|
InProcessPipelineRunner.UncommittedBundle<T> |
add(com.google.cloud.dataflow.sdk.util.WindowedValue<T> element)
Outputs an element to this bundle.
|
InProcessPipelineRunner.CommittedBundle<T> |
commit(Instant synchronizedProcessingTime)
Commits this
InProcessPipelineRunner.UncommittedBundle, returning an immutable InProcessPipelineRunner.CommittedBundle
containing all of the elements that were added to it. |
PCollection<T> |
getPCollection()
Returns the PCollection that the elements of this
InProcessPipelineRunner.UncommittedBundle belong to. |
PCollection<T> getPCollection()
InProcessPipelineRunner.UncommittedBundle belong to.InProcessPipelineRunner.UncommittedBundle<T> add(com.google.cloud.dataflow.sdk.util.WindowedValue<T> element)
element - the element to add to this bundleInProcessPipelineRunner.CommittedBundle<T> commit(Instant synchronizedProcessingTime)
InProcessPipelineRunner.UncommittedBundle, returning an immutable InProcessPipelineRunner.CommittedBundle
containing all of the elements that were added to it. The add(WindowedValue) method
will throw an IllegalStateException if called after a call to commit.synchronizedProcessingTime - the synchronized processing time at which this bundle was
committed