public static class PCollectionViews.InMemoryMultimapFromVoidKeyViewFn<K,V> extends ViewFn<Materializations.MultimapView<java.lang.Void,KV<K,V>>,java.util.Map<K,java.lang.Iterable<V>>>
Map<K,
Iterable<V>>
.
For internal use only.
Constructor and Description |
---|
InMemoryMultimapFromVoidKeyViewFn(Coder<K> keyCoder,
Coder<V> valueCoder) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<K,java.lang.Iterable<V>> |
apply(Materializations.MultimapView<java.lang.Void,KV<K,V>> primitiveView)
A function to adapt a primitive view type to a desired view type.
|
Materialization<Materializations.MultimapView<java.lang.Void,KV<K,V>>> |
getMaterialization()
Gets the materialization of this
ViewFn . |
TypeDescriptor<java.util.Map<K,java.lang.Iterable<V>>> |
getTypeDescriptor()
Return the
TypeDescriptor describing the output of this fn. |
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,java.lang.Iterable<V>>>
public java.util.Map<K,java.lang.Iterable<V>> apply(Materializations.MultimapView<java.lang.Void,KV<K,V>> primitiveView)
ViewFn
public TypeDescriptor<java.util.Map<K,java.lang.Iterable<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,java.lang.Iterable<V>>>