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 theTypeDescriptordescribing 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:ViewFnGets the materialization of thisViewFn.- Specified by:
getMaterializationin classViewFn<Materializations.MultimapView<Void,KV<K, V>>, Map<K, V>>
-
apply
Deprecated.Description copied from class:ViewFnA function to adapt a primitive view type to a desired view type. -
getTypeDescriptor
Deprecated.Description copied from class:ViewFnReturn theTypeDescriptordescribing the output of this fn.- Specified by:
getTypeDescriptorin classViewFn<Materializations.MultimapView<Void,KV<K, V>>, Map<K, V>>
-
PCollectionViews.MapViewFn2.