Class PCollectionViews.ListViewFn2<T>

All Implemented Interfaces:
Serializable
Enclosing class:
PCollectionViews

public static class PCollectionViews.ListViewFn2<T> extends ViewFn<Materializations.MultimapView<Long,PCollectionViews.ValueOrMetadata<T,OffsetRange>>,List<T>>
Implementation which is able to adapt a multimap materialization to a List<T>.

For internal use only.

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

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

See Also: