Package org.apache.beam.sdk.transforms
Class DoFnOutputReceivers
java.lang.Object
org.apache.beam.sdk.transforms.DoFnOutputReceivers
Common 
DoFn.OutputReceiver and DoFn.MultiOutputReceiver classes.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> DoFn.OutputReceiver<Row> rowReceiver(DoFn<?, ?>.WindowedContext context, @Nullable TupleTag<T> outputTag, SchemaCoder<T> schemaCoder) Returns aDoFn.OutputReceiverthat automatically converts aRowto the user's output type and delegates toDoFnOutputReceivers.WindowedContextOutputReceiver.static DoFn.MultiOutputReceiverwindowedMultiReceiver(DoFn<?, ?>.WindowedContext context) Returns aDoFn.MultiOutputReceiverthat delegates to aDoFn.WindowedContext.static DoFn.MultiOutputReceiverwindowedMultiReceiver(DoFn<?, ?>.WindowedContext context, @Nullable Map<TupleTag<?>, Coder<?>> outputCoders) Returns aDoFn.MultiOutputReceiverthat delegates to aDoFn.WindowedContext.static <T> DoFn.OutputReceiver<T> windowedReceiver(DoFn<?, ?>.WindowedContext context, @Nullable TupleTag<T> outputTag) Returns aDoFn.OutputReceiverthat delegates to aDoFn.WindowedContext. 
- 
Constructor Details
- 
DoFnOutputReceivers
public DoFnOutputReceivers() 
 - 
 - 
Method Details
- 
windowedReceiver
public static <T> DoFn.OutputReceiver<T> windowedReceiver(DoFn<?, ?>.WindowedContext context, @Nullable TupleTag<T> outputTag) Returns aDoFn.OutputReceiverthat delegates to aDoFn.WindowedContext. - 
windowedMultiReceiver
public static DoFn.MultiOutputReceiver windowedMultiReceiver(DoFn<?, ?>.WindowedContext context, @Nullable Map<TupleTag<?>, Coder<?>> outputCoders) Returns aDoFn.MultiOutputReceiverthat delegates to aDoFn.WindowedContext. - 
windowedMultiReceiver
Returns aDoFn.MultiOutputReceiverthat delegates to aDoFn.WindowedContext.This exists for backwards-compatibility with the Dataflow runner, and will be removed.
 - 
rowReceiver
public static <T> DoFn.OutputReceiver<Row> rowReceiver(DoFn<?, ?>.WindowedContext context, @Nullable TupleTag<T> outputTag, SchemaCoder<T> schemaCoder) Returns aDoFn.OutputReceiverthat automatically converts aRowto the user's output type and delegates toDoFnOutputReceivers.WindowedContextOutputReceiver. 
 -