Package org.apache.beam.sdk.values
Class PCollectionViews.MultimapViewFn2<K,V> 
java.lang.Object
org.apache.beam.sdk.transforms.ViewFn<Materializations.MultimapView<K,V>,Map<K,Iterable<V>>>
   
org.apache.beam.sdk.values.PCollectionViews.MultimapViewFn2<K,V> 
- All Implemented Interfaces:
 Serializable
- Enclosing class:
 PCollectionViews
@Internal
public static class PCollectionViews.MultimapViewFn2<K,V> 
extends ViewFn<Materializations.MultimapView<K,V>,Map<K,Iterable<V>>>   
Implementation which is able to adapt a multimap materialization to a 
Map<K,
 Iterable<V>>.
 For internal use only.
PCollectionViews.MultimapViewFn is meant to be removed in the future and replaced with this class.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionMultimapViewFn2(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)  - 
Method Summary
Modifier and TypeMethodDescriptionapply(Materializations.MultimapView<K, V> primitiveViewT) A function to adapt a primitive view type to a desired view type.Gets the materialization of thisViewFn.TypeDescriptor<Map<K, Iterable<V>>> Return theTypeDescriptordescribing the output of this fn. 
- 
Constructor Details
- 
MultimapViewFn2
public MultimapViewFn2(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)  
 - 
 - 
Method Details
- 
getMaterialization
Description copied from class:ViewFnGets the materialization of thisViewFn.- Specified by:
 getMaterializationin classViewFn<Materializations.MultimapView<K,V>, Map<K, Iterable<V>>> 
 - 
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.MultimapView<K,V>, Map<K, Iterable<V>>> 
 
 -