Package org.apache.beam.sdk.values
Class PCollectionViews.InMemoryMultimapFromVoidKeyViewFn<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.InMemoryMultimapFromVoidKeyViewFn<K,V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
PCollectionViews
public static class PCollectionViews.InMemoryMultimapFromVoidKeyViewFn<K,V>
extends ViewFn<Materializations.MultimapView<Void,KV<K,V>>,Map<K,Iterable<V>>>
Implementation which is able to adapt a multimap materialization to an in-memory
Map<K,
Iterable<V>>
.
For internal use only.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA function to adapt a primitive view type to a desired view type.Gets the materialization of thisViewFn
.TypeDescriptor
<Map<K, Iterable<V>>> Return theTypeDescriptor
describing the output of this fn.
-
Constructor Details
-
InMemoryMultimapFromVoidKeyViewFn
-
-
Method Details
-
getMaterialization
Description copied from class:ViewFn
Gets the materialization of thisViewFn
. -
apply
Description copied from class:ViewFn
A function to adapt a primitive view type to a desired view type. -
getTypeDescriptor
Description copied from class:ViewFn
Return theTypeDescriptor
describing the output of this fn.
-