InputT
- the type of the (main) input elements of the DoFn
OutputT
- the type of the (main) output elements of the DoFn
public class DoFnInfo<InputT,OutputT>
extends java.lang.Object
implements java.io.Serializable
DoFn
.Modifier and Type | Method and Description |
---|---|
static <InputT,OutputT> |
forFn(DoFn<InputT,OutputT> doFn,
WindowingStrategy<?,?> windowingStrategy,
java.lang.Iterable<PCollectionView<?>> sideInputViews,
Coder<InputT> inputCoder,
long mainOutput,
java.util.Map<java.lang.Long,TupleTag<?>> outputMap)
|
DoFn<InputT,OutputT> |
getDoFn()
Returns the embedded function.
|
Coder<InputT> |
getInputCoder() |
long |
getMainOutput() |
java.util.Map<java.lang.Long,TupleTag<?>> |
getOutputMap() |
java.lang.Iterable<PCollectionView<?>> |
getSideInputViews() |
WindowingStrategy<?,?> |
getWindowingStrategy() |
DoFnInfo<InputT,OutputT> |
withFn(DoFn<InputT,OutputT> newFn) |
public static <InputT,OutputT> DoFnInfo<InputT,OutputT> forFn(DoFn<InputT,OutputT> doFn, WindowingStrategy<?,?> windowingStrategy, java.lang.Iterable<PCollectionView<?>> sideInputViews, Coder<InputT> inputCoder, long mainOutput, java.util.Map<java.lang.Long,TupleTag<?>> outputMap)
public WindowingStrategy<?,?> getWindowingStrategy()
public java.lang.Iterable<PCollectionView<?>> getSideInputViews()
public long getMainOutput()
public java.util.Map<java.lang.Long,TupleTag<?>> getOutputMap()