Class PCollectionViews.IterableViewFn2<T>

java.lang.Object
org.apache.beam.sdk.transforms.ViewFn<Materializations.IterableView<T>,Iterable<T>>
org.apache.beam.sdk.values.PCollectionViews.IterableViewFn2<T>
All Implemented Interfaces:
Serializable
Enclosing class:
PCollectionViews

@Internal public static class PCollectionViews.IterableViewFn2<T> extends ViewFn<Materializations.IterableView<T>,Iterable<T>>
Implementation which is able to adapt an iterable materialization to a Iterable<T>.

For internal use only.

Instantiate via PCollectionViews.iterableView(org.apache.beam.sdk.values.PCollection<T>, org.apache.beam.sdk.values.PCollectionViews.TypeDescriptorSupplier<T>, org.apache.beam.sdk.values.WindowingStrategy<?, W>).

PCollectionViews.IterableViewFn is meant to be removed in the future and replaced with this class.

See Also: