@Experimental(value=CORE_RUNNERS_ONLY) public static class PCollectionViews.IterableViewFn<T> extends ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
Iterable<T>
.
For internal use only.
Constructor and Description |
---|
IterableViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<T> |
apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)
A function to adapt a primitive view type to a desired view type.
|
Materialization<Materializations.MultimapView<java.lang.Void,T>> |
getMaterialization()
Gets the materialization of this
ViewFn . |
TypeDescriptor<java.lang.Iterable<T>> |
getTypeDescriptor()
Return the
TypeDescriptor describing the output of this fn. |
public IterableViewFn(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.lang.Iterable<T>>
public java.lang.Iterable<T> apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)
ViewFn
apply
in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
public TypeDescriptor<java.lang.Iterable<T>> getTypeDescriptor()
ViewFn
TypeDescriptor
describing the output of this fn.getTypeDescriptor
in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>