Package org.apache.beam.sdk.values
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.
PCollectionViews.IterableViewFn is meant to be removed in the future and replaced with this class.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionIterableViewFn2(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier)  - 
Method Summary
Modifier and TypeMethodDescriptionapply(Materializations.IterableView<T> primitiveViewT) A function to adapt a primitive view type to a desired view type.Gets the materialization of thisViewFn.Return theTypeDescriptordescribing the output of this fn. 
- 
Constructor Details
- 
IterableViewFn2
 
 - 
 - 
Method Details
- 
getMaterialization
Description copied from class:ViewFnGets the materialization of thisViewFn.- Specified by:
 getMaterializationin classViewFn<Materializations.IterableView<T>,Iterable<T>> 
 - 
apply
Description copied from class:ViewFnA function to adapt a primitive view type to a desired view type. - 
getTypeDescriptor
Description copied from class:ViewFnReturn theTypeDescriptordescribing the output of this fn.- Specified by:
 getTypeDescriptorin classViewFn<Materializations.IterableView<T>,Iterable<T>> 
 
 -