Package org.apache.beam.sdk.values
Class PCollectionViews.IterableViewFn<T>
- java.lang.Object
-
- org.apache.beam.sdk.transforms.ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
-
- org.apache.beam.sdk.values.PCollectionViews.IterableViewFn<T>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PCollectionViews
@Deprecated @Experimental(CORE_RUNNERS_ONLY) public static class PCollectionViews.IterableViewFn<T> extends ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
Deprecated.Implementation which is able to adapt a multimap materialization to aIterable<T>
.For internal use only.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IterableViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Iterable<T>
apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)
Deprecated.A function to adapt a primitive view type to a desired view type.Materialization<Materializations.MultimapView<java.lang.Void,T>>
getMaterialization()
Deprecated.Gets the materialization of thisViewFn
.TypeDescriptor<java.lang.Iterable<T>>
getTypeDescriptor()
Deprecated.Return theTypeDescriptor
describing the output of this fn.
-
-
-
Constructor Detail
-
IterableViewFn
public IterableViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier)
Deprecated.
-
-
Method Detail
-
getMaterialization
public Materialization<Materializations.MultimapView<java.lang.Void,T>> getMaterialization()
Deprecated.Description copied from class:ViewFn
Gets the materialization of thisViewFn
.- Specified by:
getMaterialization
in classViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
-
apply
public java.lang.Iterable<T> apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)
Deprecated.Description copied from class:ViewFn
A function to adapt a primitive view type to a desired view type.- Specified by:
apply
in classViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
-
getTypeDescriptor
public TypeDescriptor<java.lang.Iterable<T>> getTypeDescriptor()
Deprecated.Description copied from class:ViewFn
Return theTypeDescriptor
describing the output of this fn.- Specified by:
getTypeDescriptor
in classViewFn<Materializations.MultimapView<java.lang.Void,T>,java.lang.Iterable<T>>
-
-