InputT
- the type of the (main) input elements of the DoFn
OutputT
- the type of the (main) output elements of the DoFn
@Internal 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,
java.util.Map<TupleTag<?>,Coder<?>> outputCoders,
TupleTag<OutputT> mainOutput,
DoFnSchemaInformation doFnSchemaInformation,
java.util.Map<java.lang.String,PCollectionView<?>> sideInputMapping)
|
static <InputT,OutputT> |
forFn(DoFn<InputT,OutputT> doFn,
WindowingStrategy<?,?> windowingStrategy,
java.lang.Iterable<PCollectionView<?>> sideInputViews,
Coder<InputT> inputCoder,
TupleTag<OutputT> mainOutput,
DoFnSchemaInformation doFnSchemaInformation,
java.util.Map<java.lang.String,PCollectionView<?>> sideInputMapping)
|
DoFn<InputT,OutputT> |
getDoFn()
Returns the embedded function.
|
DoFnSchemaInformation |
getDoFnSchemaInformation() |
Coder<InputT> |
getInputCoder() |
TupleTag<OutputT> |
getMainOutput() |
java.util.Map<TupleTag<?>,Coder<?>> |
getOutputCoders() |
java.util.Map<java.lang.String,PCollectionView<?>> |
getSideInputMapping() |
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, TupleTag<OutputT> mainOutput, DoFnSchemaInformation doFnSchemaInformation, java.util.Map<java.lang.String,PCollectionView<?>> sideInputMapping)
public static <InputT,OutputT> DoFnInfo<InputT,OutputT> forFn(DoFn<InputT,OutputT> doFn, WindowingStrategy<?,?> windowingStrategy, java.lang.Iterable<PCollectionView<?>> sideInputViews, Coder<InputT> inputCoder, java.util.Map<TupleTag<?>,Coder<?>> outputCoders, TupleTag<OutputT> mainOutput, DoFnSchemaInformation doFnSchemaInformation, java.util.Map<java.lang.String,PCollectionView<?>> sideInputMapping)
public WindowingStrategy<?,?> getWindowingStrategy()
public java.lang.Iterable<PCollectionView<?>> getSideInputViews()
public DoFnSchemaInformation getDoFnSchemaInformation()
public java.util.Map<java.lang.String,PCollectionView<?>> getSideInputMapping()