MapViewFn2
.@Deprecated @Experimental(value=CORE_RUNNERS_ONLY) public static class PCollectionViews.MapViewFn<K,V> extends ViewFn<Materializations.MultimapView<java.lang.Void,KV<K,V>>,java.util.Map<K,V>>
Map<K, V>
.
For internal use only.
Constructor and Description |
---|
MapViewFn(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier,
PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<K,V> |
apply(Materializations.MultimapView<java.lang.Void,KV<K,V>> primitiveViewT)
Deprecated.
A function to adapt a primitive view type to a desired view type.
|
Materialization<Materializations.MultimapView<java.lang.Void,KV<K,V>>> |
getMaterialization()
Deprecated.
Gets the materialization of this
ViewFn . |
TypeDescriptor<java.util.Map<K,V>> |
getTypeDescriptor()
Deprecated.
Return the
TypeDescriptor describing the output of this fn. |
public MapViewFn(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)
public Materialization<Materializations.MultimapView<java.lang.Void,KV<K,V>>> getMaterialization()
ViewFn
ViewFn
.getMaterialization
in class ViewFn<Materializations.MultimapView<java.lang.Void,KV<K,V>>,java.util.Map<K,V>>
public java.util.Map<K,V> apply(Materializations.MultimapView<java.lang.Void,KV<K,V>> primitiveViewT)
ViewFn
public TypeDescriptor<java.util.Map<K,V>> getTypeDescriptor()
ViewFn
TypeDescriptor
describing the output of this fn.getTypeDescriptor
in class ViewFn<Materializations.MultimapView<java.lang.Void,KV<K,V>>,java.util.Map<K,V>>