public class PubsubIO.Write.PubsubBoundedWriter extends DoFn<T,java.lang.Void>
Public so can be suppressed by runners.
DoFn.BoundedPerElement, DoFn.Element, DoFn.FieldAccess, DoFn.FinishBundle, DoFn.FinishBundleContext, DoFn.GetInitialRestriction, DoFn.GetRestrictionCoder, DoFn.MultiOutputReceiver, DoFn.NewTracker, DoFn.OnTimer, DoFn.OnTimerContext, DoFn.OutputReceiver<T>, DoFn.ProcessContext, DoFn.ProcessContinuation, DoFn.ProcessElement, DoFn.RequiresStableInput, DoFn.Setup, DoFn.SplitRestriction, DoFn.StartBundle, DoFn.StartBundleContext, DoFn.StateId, DoFn.Teardown, DoFn.TimerId, DoFn.Timestamp, DoFn.UnboundedPerElement, DoFn.WindowedContext
Constructor and Description |
---|
PubsubBoundedWriter() |
Modifier and Type | Method and Description |
---|---|
void |
finishBundle() |
void |
populateDisplayData(DisplayData.Builder builder)
Register display data for the given transform or component.
|
void |
processElement(DoFn.ProcessContext c) |
void |
startBundle(DoFn.StartBundleContext c) |
getAllowedTimestampSkew, getInputTypeDescriptor, getOutputTypeDescriptor, prepareForProcessing
@DoFn.StartBundle public void startBundle(DoFn.StartBundleContext c) throws java.io.IOException
java.io.IOException
@DoFn.ProcessElement public void processElement(DoFn.ProcessContext c) throws java.io.IOException
java.io.IOException
@DoFn.FinishBundle public void finishBundle() throws java.io.IOException
java.io.IOException
public void populateDisplayData(DisplayData.Builder builder)
DoFn
populateDisplayData(DisplayData.Builder)
is invoked by Pipeline runners to collect
display data via DisplayData.from(HasDisplayData)
. Implementations may call super.populateDisplayData(builder)
in order to register display data in the current namespace,
but should otherwise use subcomponent.populateDisplayData(builder)
to use the namespace
of the subcomponent.
By default, does not register any display data. Implementors may override this method to provide their own display data.
populateDisplayData
in interface HasDisplayData
populateDisplayData
in class DoFn<T,java.lang.Void>
builder
- The builder to populate with display data.HasDisplayData