Package org.apache.beam.sdk.transforms
Class DoFn.FinishBundleContext
java.lang.Object
org.apache.beam.sdk.transforms.DoFn.FinishBundleContext
Information accessible while within the
DoFn.FinishBundle
method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PipelineOptions
abstract <T> void
output
(TupleTag<T> tag, T output, Instant timestamp, BoundedWindow window) Adds the given element to the outputPCollection
with the given tag at the given timestamp in the given window.abstract void
output
(OutputT output, Instant timestamp, BoundedWindow window) Adds the given element to the main outputPCollection
at the given timestamp in the given window.
-
Constructor Details
-
FinishBundleContext
public FinishBundleContext()
-
-
Method Details
-
getPipelineOptions
-
output
Adds the given element to the main outputPCollection
at the given timestamp in the given window.Once passed to
output
the element should not be modified in any way.Note: A splittable
DoFn
is not allowed to output from theDoFn.FinishBundle
method. -
output
Adds the given element to the outputPCollection
with the given tag at the given timestamp in the given window.Once passed to
output
the element should not be modified in any way.Note: A splittable
DoFn
is not allowed to output from theDoFn.FinishBundle
method.
-