@Internal public static class PCollectionViews.MapViewFn2<K,V> extends ViewFn<Materializations.MultimapView<K,V>,java.util.Map<K,V>>
Map<K, V>.
 For internal use only.
PCollectionViews.MapViewFn is meant to be removed in the future and replaced with this class.
| Constructor and Description | 
|---|
MapViewFn2(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier,
          PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Map<K,V> | 
apply(Materializations.MultimapView<K,V> primitiveViewT)
A function to adapt a primitive view type to a desired view type. 
 | 
Materialization<Materializations.MultimapView<K,V>> | 
getMaterialization()
Gets the materialization of this  
ViewFn. | 
TypeDescriptor<java.util.Map<K,V>> | 
getTypeDescriptor()
Return the  
TypeDescriptor describing the output of this fn. | 
public MapViewFn2(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)
public Materialization<Materializations.MultimapView<K,V>> getMaterialization()
ViewFnViewFn.getMaterialization in class ViewFn<Materializations.MultimapView<K,V>,java.util.Map<K,V>>public java.util.Map<K,V> apply(Materializations.MultimapView<K,V> primitiveViewT)
ViewFnpublic TypeDescriptor<java.util.Map<K,V>> getTypeDescriptor()
ViewFnTypeDescriptor describing the output of this fn.getTypeDescriptor in class ViewFn<Materializations.MultimapView<K,V>,java.util.Map<K,V>>