public static class PCollectionViews.InMemoryListFromMultimapViewFn<T> extends ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.util.List<T>>
List<T>
.
For internal use only.
Constructor and Description |
---|
InMemoryListFromMultimapViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier) |
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
apply(Materializations.MultimapView<java.lang.Void,T> primitiveView)
A function to adapt a primitive view type to a desired view type.
|
boolean |
equals(@Nullable java.lang.Object other) |
Materialization<Materializations.MultimapView<java.lang.Void,T>> |
getMaterialization()
Gets the materialization of this
ViewFn . |
TypeDescriptor<java.util.List<T>> |
getTypeDescriptor()
Return the
TypeDescriptor describing the output of this fn. |
int |
hashCode() |
public InMemoryListFromMultimapViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier)
public Materialization<Materializations.MultimapView<java.lang.Void,T>> getMaterialization()
ViewFn
ViewFn
.getMaterialization
in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.util.List<T>>
public java.util.List<T> apply(Materializations.MultimapView<java.lang.Void,T> primitiveView)
ViewFn
apply
in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.util.List<T>>
public TypeDescriptor<java.util.List<T>> getTypeDescriptor()
ViewFn
TypeDescriptor
describing the output of this fn.getTypeDescriptor
in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.util.List<T>>
public boolean equals(@Nullable java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object