MultimapViewFn2
.@Deprecated @Experimental(value=CORE_RUNNERS_ONLY) public static class PCollectionViews.MultimapViewFn<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 |
---|
MultimapViewFn(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier,
PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<K,java.lang.Iterable<V>> |
apply(Materializations.MultimapView<java.lang.Void,KV<K,V>> primitiveViewT)
Deprecated.
A function to adapt a primitive view type to a desired view type.
|
Materialization<Materializations.MultimapView<java.lang.Void,KV<K,V>>> |
getMaterialization()
Deprecated.
Gets the materialization of this
ViewFn . |
TypeDescriptor<java.util.Map<K,java.lang.Iterable<V>>> |
getTypeDescriptor()
Deprecated.
Return the
TypeDescriptor describing the output of this fn. |
public MultimapViewFn(PCollectionViews.TypeDescriptorSupplier<K> keyTypeDescriptorSupplier, PCollectionViews.TypeDescriptorSupplier<V> valueTypeDescriptorSupplier)
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>> primitiveViewT)
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>>>