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)
|
static <InputT,OutputT> |
forFn(java.io.Serializable doFn,
WindowingStrategy<?,?> windowingStrategy,
java.lang.Iterable<PCollectionView<?>> sideInputViews,
Coder<InputT> inputCoder,
long mainOutput,
java.util.Map<java.lang.Long,TupleTag<?>> outputMap)
Deprecated.
|
DoFn<InputT,OutputT> |
getDoFn()
Returns the embedded function.
|
java.io.Serializable |
getFn()
Deprecated.
|
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)
@Deprecated public static <InputT,OutputT> DoFnInfo<InputT,OutputT> forFn(java.io.Serializable doFn, WindowingStrategy<?,?> windowingStrategy, java.lang.Iterable<PCollectionView<?>> sideInputViews, Coder<InputT> inputCoder, long mainOutput, java.util.Map<java.lang.Long,TupleTag<?>> outputMap)
@Deprecated public java.io.Serializable getFn()
getDoFn()
.public WindowingStrategy<?,?> getWindowingStrategy()
public java.lang.Iterable<PCollectionView<?>> getSideInputViews()
public long getMainOutput()
public java.util.Map<java.lang.Long,TupleTag<?>> getOutputMap()