Package org.apache.beam.sdk.values
Class PCollectionViews.MapViewFn<K,V>
java.lang.Object
org.apache.beam.sdk.transforms.ViewFn<Materializations.MultimapView<Void,KV<K,V>>,Map<K,V>>
org.apache.beam.sdk.values.PCollectionViews.MapViewFn<K,V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
PCollectionViews
@Deprecated
public static class PCollectionViews.MapViewFn<K,V>
extends ViewFn<Materializations.MultimapView<Void,KV<K,V>>,Map<K,V>>
Deprecated.
Implementation which is able to adapt a multimap materialization to a
Map<K, V>
.
For internal use only.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMapViewFn
(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.A function to adapt a primitive view type to a desired view type.Deprecated.Gets the materialization of thisViewFn
.TypeDescriptor
<Map<K, V>> Deprecated.Return theTypeDescriptor
describing the output of this fn.
-
Constructor Details
-
MapViewFn
public MapViewFn(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier) Deprecated.
-
-
Method Details
-
getMaterialization
Deprecated.Description copied from class:ViewFn
Gets the materialization of thisViewFn
.- Specified by:
getMaterialization
in classViewFn<Materializations.MultimapView<Void,
KV<K, V>>, Map<K, V>>
-
apply
Deprecated.Description copied from class:ViewFn
A function to adapt a primitive view type to a desired view type. -
getTypeDescriptor
Deprecated.Description copied from class:ViewFn
Return theTypeDescriptor
describing the output of this fn.- Specified by:
getTypeDescriptor
in classViewFn<Materializations.MultimapView<Void,
KV<K, V>>, Map<K, V>>
-
PCollectionViews.MapViewFn2
.