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 PipelineOptionsabstract <T> voidoutput(TupleTag<T> tag, T output, Instant timestamp, BoundedWindow window) Adds the given element to the outputPCollectionwith the given tag at the given timestamp in the given window.abstract voidoutput(OutputT output, Instant timestamp, BoundedWindow window) Adds the given element to the main outputPCollectionat the given timestamp in the given window.
-
Constructor Details
-
FinishBundleContext
public FinishBundleContext()
-
-
Method Details
-
getPipelineOptions
-
output
Adds the given element to the main outputPCollectionat the given timestamp in the given window.Once passed to
outputthe element should not be modified in any way.Note: A splittable
DoFnis not allowed to output from theDoFn.FinishBundlemethod. -
output
Adds the given element to the outputPCollectionwith the given tag at the given timestamp in the given window.Once passed to
outputthe element should not be modified in any way.Note: A splittable
DoFnis not allowed to output from theDoFn.FinishBundlemethod.
-