OutputT - the type of the main output PCollection elementspublic static class ParDo.UnboundMulti<OutputT> extends Object
ParDo transform, with unbound
input type.
Before being applied, of(org.apache.beam.sdk.transforms.DoFn<InputT, OutputT>) must be
invoked to specify the DoFn to invoke, which will also
bind the input type of this PTransform.
| Modifier and Type | Method and Description |
|---|---|
<InputT> ParDo.BoundMulti<InputT,OutputT> |
of(DoFn<InputT,OutputT> fn)
Returns a new multi-output
ParDo PTransform
that's like this transform but that will invoke the given
DoFn function, and that has its input type bound. |
<InputT> ParDo.BoundMulti<InputT,OutputT> |
of(DoFn<InputT,OutputT> fn,
Class<?> fnClass) |
<InputT> ParDo.BoundMulti<InputT,OutputT> |
of(DoFnWithContext<InputT,OutputT> fn)
Returns a new multi-output
ParDo PTransform
that's like this transform but which will invoke the given
DoFnWithContext function, and which has its input type bound. |
ParDo.UnboundMulti<OutputT> |
withSideInputs(Iterable<? extends PCollectionView<?>> sideInputs)
Returns a new multi-output
ParDo transform that's like
this transform but with the specified additional side inputs. |
ParDo.UnboundMulti<OutputT> |
withSideInputs(PCollectionView<?>... sideInputs)
Returns a new multi-output
ParDo transform that's like
this transform but with the specified side inputs. |
public ParDo.UnboundMulti<OutputT> withSideInputs(PCollectionView<?>... sideInputs)
ParDo transform that's like
this transform but with the specified side inputs. Does not
modify this transform. The resulting transform is still
incomplete.
See the discussion of Side Inputs above and on
ParDo.withSideInputs(org.apache.beam.sdk.values.PCollectionView<?>...) for more explanation.
public ParDo.UnboundMulti<OutputT> withSideInputs(Iterable<? extends PCollectionView<?>> sideInputs)
ParDo transform that's like
this transform but with the specified additional side inputs. Does not
modify this transform. The resulting transform is still
incomplete.
See the discussion of Side Inputs above and on
ParDo.withSideInputs(org.apache.beam.sdk.values.PCollectionView<?>...) for more explanation.
public <InputT> ParDo.BoundMulti<InputT,OutputT> of(DoFn<InputT,OutputT> fn)
ParDo PTransform
that's like this transform but that will invoke the given
DoFn function, and that has its input type bound.
Does not modify this transform. The resulting
PTransform is sufficiently specified to be applied, but
more properties can still be specified.public <InputT> ParDo.BoundMulti<InputT,OutputT> of(DoFn<InputT,OutputT> fn, Class<?> fnClass)
public <InputT> ParDo.BoundMulti<InputT,OutputT> of(DoFnWithContext<InputT,OutputT> fn)
ParDo PTransform
that's like this transform but which will invoke the given
DoFnWithContext function, and which has its input type bound.
Does not modify this transform. The resulting
PTransform is sufficiently specified to be applied, but
more properties can still be specified.