public static class IntraBundleParallelization.Unbound extends Object
IntraBundleParallelization transform, with unbound input/output types.
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/output types of this PTransform.
| Modifier and Type | Method and Description |
|---|---|
<InputT,OutputT> |
of(DoFn<InputT,OutputT> doFn)
|
IntraBundleParallelization.Unbound |
withMaxParallelism(int maxParallelism)
Returns a new
IntraBundleParallelization PTransform like this one
with the specified maximum concurrency level. |
public IntraBundleParallelization.Unbound withMaxParallelism(int maxParallelism)
IntraBundleParallelization PTransform like this one
with the specified maximum concurrency level.public <InputT,OutputT> IntraBundleParallelization.Bound<InputT,OutputT> of(DoFn<InputT,OutputT> doFn)
IntraBundleParallelization PTransform like this one
with the specified DoFn.
Note that the specified doFn needs to be thread safe.