Package org.apache.beam.sdk.values
Class PCollectionViews.ListViewFn<T>
- java.lang.Object
-
- org.apache.beam.sdk.transforms.ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.util.List<T>>
-
- org.apache.beam.sdk.values.PCollectionViews.ListViewFn<T>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PCollectionViews
@Deprecated @Experimental(CORE_RUNNERS_ONLY) public static class PCollectionViews.ListViewFn<T> extends ViewFn<Materializations.MultimapView<java.lang.Void,T>,java.util.List<T>>
Deprecated.Implementation which is able to adapt a multimap materialization to aList<T>
.For internal use only.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<T>
apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)
Deprecated.A function to adapt a primitive view type to a desired view type.boolean
equals(@Nullable java.lang.Object other)
Deprecated.Materialization<Materializations.MultimapView<java.lang.Void,T>>
getMaterialization()
Deprecated.Gets the materialization of thisViewFn
.TypeDescriptor<java.util.List<T>>
getTypeDescriptor()
Deprecated.Return theTypeDescriptor
describing the output of this fn.int
hashCode()
Deprecated.
-
-
-
Constructor Detail
-
ListViewFn
public ListViewFn(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.util.List<T>>
-
apply
public java.util.List<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.util.List<T>>
-
getTypeDescriptor
public TypeDescriptor<java.util.List<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.util.List<T>>
-
equals
public boolean equals(@Nullable java.lang.Object other)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-