Package org.apache.beam.sdk.values
Class PCollectionViews.IterableBackedListViewFn<T>
java.lang.Object
org.apache.beam.sdk.transforms.ViewFn<Materializations.IterableView<T>,List<T>>
 
org.apache.beam.sdk.values.PCollectionViews.IterableBackedListViewFn<T>
- All Implemented Interfaces:
 Serializable
- Enclosing class:
 PCollectionViews
public static class PCollectionViews.IterableBackedListViewFn<T>
extends ViewFn<Materializations.IterableView<T>,List<T>> 
Implementation which is able to adapt an iterable materialization to a 
List<T>.
 Unlike ListViewFn2, this implementation is optimized for iteration rather than indexing.
For internal use only.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionIterableBackedListViewFn(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.booleanGets the materialization of thisViewFn.Return theTypeDescriptordescribing the output of this fn.inthashCode() 
- 
Constructor Details
- 
IterableBackedListViewFn
 
 - 
 - 
Method Details
- 
getMaterialization
Description copied from class:ViewFnGets the materialization of thisViewFn.- Specified by:
 getMaterializationin classViewFn<Materializations.IterableView<T>,List<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>,List<T>> 
 - 
equals
 - 
hashCode
public int hashCode() 
 -