Package org.apache.beam.sdk.values
Class PCollectionViews.MultimapViewFn<K,V>
java.lang.Object
org.apache.beam.sdk.transforms.ViewFn<Materializations.MultimapView<Void,KV<K,V>>,Map<K,Iterable<V>>>
org.apache.beam.sdk.values.PCollectionViews.MultimapViewFn<K,V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
PCollectionViews
@Deprecated
public static class PCollectionViews.MultimapViewFn<K,V>
extends ViewFn<Materializations.MultimapView<Void,KV<K,V>>,Map<K,Iterable<V>>>
Deprecated.
Implementation which is able to adapt a multimap materialization to a
Map<K,
Iterable<V>>
.
For internal use only.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultimapViewFn
(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, Iterable<V>>> Deprecated.Return theTypeDescriptor
describing the output of this fn.
-
Constructor Details
-
MultimapViewFn
public MultimapViewFn(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier) Deprecated.
-
-
Method Details
-
getMaterialization
Deprecated.Description copied from class:ViewFn
Gets the materialization of thisViewFn
. -
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.
-
PCollectionViews.MultimapViewFn2
.