@Internal public static class DataflowRunner.StreamingPCollectionViewWriterFn<T> extends DoFn<java.lang.Iterable<T>,T>
DoFn
for writing the contents of a PCollection
to a streaming PCollectionView
backend implementation.DoFn.BoundedPerElement, DoFn.BundleFinalizer, DoFn.Element, DoFn.FieldAccess, DoFn.FinishBundle, DoFn.FinishBundleContext, DoFn.GetInitialRestriction, DoFn.GetRestrictionCoder, DoFn.GetSize, DoFn.MultiOutputReceiver, DoFn.NewTracker, DoFn.OnTimer, DoFn.OnTimerContext, DoFn.OnWindowExpiration, DoFn.OutputReceiver<T>, DoFn.ProcessContext, DoFn.ProcessContinuation, DoFn.ProcessElement, DoFn.RequiresStableInput, DoFn.Setup, DoFn.SideInput, DoFn.SplitRestriction, DoFn.StartBundle, DoFn.StartBundleContext, DoFn.StateId, DoFn.Teardown, DoFn.TimerId, DoFn.Timestamp, DoFn.UnboundedPerElement, DoFn.WindowedContext
Modifier and Type | Method and Description |
---|---|
static <T> DataflowRunner.StreamingPCollectionViewWriterFn<T> |
create(PCollectionView<?> view,
Coder<T> dataCoder) |
Coder<T> |
getDataCoder() |
PCollectionView<?> |
getView() |
void |
processElement(DoFn.ProcessContext c,
BoundedWindow w) |
getAllowedTimestampSkew, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData, prepareForProcessing
public static <T> DataflowRunner.StreamingPCollectionViewWriterFn<T> create(PCollectionView<?> view, Coder<T> dataCoder)
public PCollectionView<?> getView()
@DoFn.ProcessElement public void processElement(DoFn.ProcessContext c, BoundedWindow w) throws java.lang.Exception
java.lang.Exception