public static class PCollectionViews.InMemoryListViewFn<T> extends ViewFn<Materializations.IterableView<T>,java.util.List<T>>
List<T>.
For internal use only.
| Constructor and Description |
|---|
InMemoryListViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<T> |
apply(Materializations.IterableView<T> primitiveView)
A function to adapt a primitive view type to a desired view type.
|
boolean |
equals(@Nullable java.lang.Object other) |
Materialization<Materializations.IterableView<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 InMemoryListViewFn(PCollectionViews.TypeDescriptorSupplier<T> typeDescriptorSupplier)
public Materialization<Materializations.IterableView<T>> getMaterialization()
ViewFnViewFn.getMaterialization in class ViewFn<Materializations.IterableView<T>,java.util.List<T>>public java.util.List<T> apply(Materializations.IterableView<T> primitiveView)
ViewFnapply in class ViewFn<Materializations.IterableView<T>,java.util.List<T>>public TypeDescriptor<java.util.List<T>> getTypeDescriptor()
ViewFnTypeDescriptor describing the output of this fn.getTypeDescriptor in class ViewFn<Materializations.IterableView<T>,java.util.List<T>>public boolean equals(@Nullable java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object